fun match(filter: Bson): Bson
(source)
Creates a $match pipeline stage for the specified filter
Return
the $match pipeline stage
See Also
Mongodb
.driver.manual reference/operator/aggregation/match/ $match
fun match(vararg filters: Bson): Bson
(source)
Creates a $match pipeline stage with $and on each filter.
getProjection
- the getProjection
Return
the $project pipeline stage