in

infix fun <T> KProperty<T?>.in(values: Iterable<T?>): Bson
infix fun <T> KProperty<T>.in(expression: String): Bson
@JvmName(name = "inArray")
infix fun <T> KProperty<Iterable<T>?>.in(values: Iterable<T?>): Bson

Creates a filter that matches all documents where the value of a property equals any value in the list of specified values.

Return

the filter

Parameters

values

the list of values

the value type