fun project(projection: Bson): Bson
(source)
Creates a $project pipeline stage for the specified getProjection
projection
- the getProjection
Return
the $project pipeline stage
See Also
Mongodb
.driver.manual reference/operator/aggregation/project/ $project
fun project(vararg properties: KProperty<*>): Bson
(source)fun project(vararg properties: Pair<KProperty<*>, Any?>): Bson
(source)fun project(properties: Map<out KProperty<*>, Any?>): Bson
(source)
Creates a $project pipeline stage for all specified properties
properties
- the properties to project
Return
the $project pipeline stage
See Also
Mongodb
.driver.manual reference/operator/aggregation/project/ $project
fun project(vararg projections: Bson): Bson
(source)
Creates a $project pipeline stage for all specified properties
projections
- the properties to project
Return
the $project pipeline stage
See Also
Mongodb
.driver.manual reference/operator/aggregation/project/ $project