ne
Matches documents where the value of a field does not equal the value.
The result includes documents which do not contain the specified field.
Example
class User(
val name: String?,
val age: Int,
)
collection.find {
User::name {
ne("foo")
}
}
Content copied to clipboard
External resources
See also
Shorthand.