ne

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

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

Return

the filter

Parameters

value

the value

the value type