densify
Creates a $densify
pipeline stage, which adds documents to a sequence of documents where certain values in the field
are missing.
Return
The requested pipeline stage. @mongodb.driver.manual reference/operator/aggregation/densify/ $densify @mongodb.driver.manual core/document/#dot-notation Dot notation @mongodb.server.release 5.1
Parameters
The field to densify.
The range.
Creates a {@code $densify} pipeline stage, which adds documents to a sequence of documents where certain values in the {@code field} are missing.
Return
The requested pipeline stage. @mongodb.driver.manual reference/operator/aggregation/densify/ $densify @mongodb.driver.manual core/document/#dot-notation Dot notation @mongodb.server.release 5.1
Parameters
The field to densify.
The range.
The densify options. Specifying {@link DensifyOptions#densifyOptions()} is equivalent to calling {@link #densify(String, DensifyRange)}.