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