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

nin

infix fun <T> KProperty<T?>.nin(values: Iterable<T?>): Bson (source)
@JvmName("ninArray") infix fun <T> KProperty<Iterable<T>?>.nin(values: Iterable<T?>): Bson (source)

Creates a filter that matches all documents where the value of a property does not equal any of the specified values or does not exist.

Parameters

values - the list of values

Parameters

Return
the filter

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