MongoDB request DSL • opensavvy.ktmongo.dsl.query • FilterQueryPredicate • doesNotExist
doesNotExist¶
abstract fun doesNotExist()
Matches documents that do not contain the specified field. Documents where the field if null are counted as existing.
Example¶
External resources¶
See also¶
-
FilterQuery.doesNotExistShorthand. -
FilterQueryPredicate.existsOpposite. -
FilterQueryPredicate.isNullOnly matches elements that are specificallynull.