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

Function PgbsonInitEmpty

pg_documentdb_core/src/io/pgbson.c:545–554  ·  view source on GitHub ↗

* PgbsonInitEmpty initializes an empty pgbson document. */

Source from the content-addressed store, hash-verified

543 * PgbsonInitEmpty initializes an empty pgbson document.
544 */
545pgbson *
546PgbsonInitEmpty(void)
547{
548 bool destroyDocument = true;
549
550 bson_t emptyBson;
551 bson_init(&emptyBson);
552
553 return CreatePgbsonfromBson_t(&emptyBson, destroyDocument);
554}
555
556
557/*

Calls 1

CreatePgbsonfromBson_tFunction · 0.85

Tested by

no test coverage detected