Operators
$exists
The $exists operator is used for querying or updating documents.
$exists
The $exists operator is used for querying or updating documents.
Syntax
{ field: { $exists: value } }
Example
{ age: { $exists: 20 } }The $exists operator is used for querying or updating documents.
The $exists operator is used for querying or updating documents.
{ field: { $exists: value } }
{ age: { $exists: 20 } }