MCPcopy Create free account
hub / github.com/documentdb/documentdb / MakeRootNode

Function MakeRootNode

pg_documentdb/include/aggregation/bson_tree.h:260–264  ·  view source on GitHub ↗

* Helper function to create the Root node of a Bson Path Tree. */

Source from the content-addressed store, hash-verified

258 * Helper function to create the Root node of a Bson Path Tree.
259 */
260inline static BsonIntermediatePathNode *
261MakeRootNode()
262{
263 return palloc0(sizeof(BsonIntermediatePathNode));
264}
265
266
267/*

Callers 10

BsonLookUpProjectFunction · 0.85
BuildBsonUnsetPathTreeFunction · 0.85
ProjectGeonearDocumentFunction · 0.85
BsonUnwindElementFunction · 0.85
AggregateObjectsCoreFunction · 0.85
bson_merge_objects_finalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected