fun <TExpression> expr(expression: TExpression): Bson
(source)
Creates a filter that matches all documents that validate against the given JSON schema document.
expression
- the aggregation expression
Parameters
Return
the filter
Mongodb
.driver.manual reference/operator/query/expr/ $expr