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