fun facet(facets: List<Facet>): Bson
fun facet(vararg facets: Facet): Bson
Creates a facet pipeline stage
facets - the facets to use
facets
Return the new pipeline stage
Mongodb .driver.manual reference/operator/aggregation/facet/ $facet