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

ne

infix fun <T> KProperty<T?>.ne(value: T?): Bson (source)

Creates a filter that matches all documents where the value of the field name does not equal the specified value.

Parameters

value - the value

Parameters

Return
the filter

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