MongoDB request DSL • opensavvy.ktmongo.dsl.query • FilterQueryPredicate • exists
exists¶
abstract fun exists()
Matches documents that contain the specified field, including values where the field value is null.
Example¶
External resources¶
See also¶
-
FilterQuery.existsShorthand. -
FilterQueryPredicate.doesNotExistOpposite. -
FilterQueryPredicate.isNotNullIdentical, but does not match elements where the field isnull.