MongoDB request DSL • opensavvy.ktmongo.dsl.query • FilterQuery • eqNotNull
eqNotNull¶
Matches documents where the value of a field equals value
.
If value
is null
, the operator is not added (all documents are matched).
Example¶
This operator is useful to simplify searches when the criteria are optional. For example, instead of writing:
this operator can be used instead:
External resources¶
See also¶
FilterQuery.eq
Equality filter.
Matches documents where the value of a field equals value
.
If value
is null
, the operator is not added (all documents are matched).
Example¶
This operator is useful to simplify searches when the criteria are optional. For example, instead of writing:
this operator can be used instead:
External resources¶
See also¶
FilterQuery.eq
Equality filter.