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

Function PgbsonGetBsonSize

pg_documentdb_core/src/io/pgbson.c:114–118  ·  view source on GitHub ↗

* Gets the size of the underlying bson represented by * the pgbson */

Source from the content-addressed store, hash-verified

112 * the pgbson
113 */
114uint32_t
115PgbsonGetBsonSize(const pgbson *bson)
116{
117 return VARSIZE_ANY_EXHDR(bson);
118}
119
120
121/*

Callers 7

BsonUpdateDocumentCoreFunction · 0.85
AggregateObjectsCoreFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected