MongoDB request DSL • opensavvy.ktmongo.dsl.query • FilterQuery • doesNotExist
doesNotExist¶
open fun Field<T, *>.doesNotExist()
Matches documents that do not contain the specified field. Documents where the field if null are not matched.
Example¶
External resources¶
See also¶
-
FilterQuery.existsOpposite. -
FilterQuery.isNullOnly matches documents that are specificallynull.
open fun KProperty1<T, *>.doesNotExist()
Matches documents that do not contain the specified field. Documents where the field if null are not matched.
Example¶
External resources¶
See also¶
-
FilterQuery.existsOpposite. -
FilterQuery.isNullOnly matches documents that are specificallynull.