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

Function bson_densify_range

pg_documentdb/src/aggregation/bson_densify.c:305–315  ·  view source on GitHub ↗

bson_densify_range * Fills the documents within the user supplied lower and upper bound range. * Lower bound is inclusive and upper bound is exclusive. * * document => The document that needs to be densified * densifySpec => $densify spec of this form: * { * 'partitionByFields': [ ], * field: , * range: { * bounds: [ , <up

Source from the content-addressed store, hash-verified

303 *
304 */
305Datum
306bson_densify_range(PG_FUNCTION_ARGS)
307{
308 pgbson *result = DensifyPartitionCore(fcinfo, DENSIFY_TYPE_RANGE);
309 if (result == NULL)
310 {
311 PG_RETURN_NULL();
312 }
313
314 PG_RETURN_POINTER(result);
315}
316
317
318/* bson_densify_partition

Callers

nothing calls this directly

Calls 1

DensifyPartitionCoreFunction · 0.85

Tested by

no test coverage detected