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
| 303 | * |
| 304 | */ |
| 305 | Datum |
| 306 | bson_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 |
nothing calls this directly
no test coverage detected