expr

fun <TExpression> expr(expression: TExpression): Bson

Creates a filter that matches all documents that validate against the given JSON schema document.

Return

the filter

Parameters

expression

the aggregation expression

the expression type