nin

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

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.

Return

the filter

Parameters

values

the list of values

the value type