all

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

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

Return

the filter

Parameters

values

the list of values

the value type