kmongo / org.litote.kmongo / kotlin.reflect.KProperty / all

all

infix fun <T> KProperty<Iterable<T>?>.all(values: Iterable<T>): Bson (source)
fun <T> KProperty<Iterable<T>?>.all(vararg values: T): Bson (source)

Creates a filter that matches all documents where the value of a property is an array that contains all the specified values.

Parameters

values - the list of values

Parameters

Return
the filter

Mongodb
.driver.manual reference/operator/query/all $all