isUndefined

open fun Field<T, *>.isUndefined()(source)
open fun KProperty1<T, *>.isUndefined()(source)

Deprecated

Selects documents for which the field is undefined.

Example

class User(
val name: String,
val age: Int?,
)

collection.find {
User::age.isUndefined()
}

External resources

See also