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

Function PgbsonArrayWriterWriteNull

pg_documentdb_core/src/io/pgbson.c:1363–1371  ·  view source on GitHub ↗

* Writes bson null to a nested array at the current index. */

Source from the content-addressed store, hash-verified

1361 * Writes bson null to a nested array at the current index.
1362 */
1363void
1364PgbsonArrayWriterWriteNull(pgbson_array_writer *writer)
1365{
1366 bson_value_t nullValue;
1367 memset(&nullValue, 0, sizeof(bson_value_t));
1368 nullValue.value_type = BSON_TYPE_NULL;
1369
1370 PgbsonArrayWriterWriteValue(writer, &nullValue);
1371}
1372
1373
1374/*

Callers 5

BsonOrderFinalFunction · 0.85
BsonOrderFinalOnSortedFunction · 0.85
BsonArrayAggFinalCoreFunction · 0.85

Calls 1

Tested by

no test coverage detected