isNotNull
Selects documents for which the field is not null
.
Example
class User(
val name: String,
val age: Int?,
)
collection.find {
User::age { isNotNull() }
}
Content copied to clipboard
External resources
See also
Shorthand.
Opposite.