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

Function PgbsonWriterFree

pg_documentdb_core/src/io/pgbson.c:1544–1548  ·  view source on GitHub ↗

* Frees any underlying buffers held by this writer. * The writer is deemed unusable after this point. */

Source from the content-addressed store, hash-verified

1542 * The writer is deemed unusable after this point.
1543 */
1544void
1545PgbsonWriterFree(pgbson_writer *writer)
1546{
1547 bson_destroy(&writer->innerBson);
1548}
1549
1550
1551/*

Callers 8

ExpressionResultResetFunction · 0.85
ParseDollarMakeArrayFunction · 0.85
SerializeIndexSpecFunction · 0.85
ProcessElemMatchOperatorFunction · 0.85
ParseRequiredFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected