match

abstract fun match(block: MatchBuilder<T>.() -> Unit): AggregationPipeline<T>

Filter documents ($match stage).

Example:

.match {
Product::status eq "active"
Product::price gte 100
}