Name | Description |
---|---|
$exists | Matches documents that have the specified field. |
$type | Selects documents if a field is of the specified type. |
参考:
https://docs.mongodb.com/manual/reference/operator/query-element/
Name | Description |
---|---|
$exists | Matches documents that have the specified field. |
$type | Selects documents if a field is of the specified type. |
参考:
https://docs.mongodb.com/manual/reference/operator/query-element/