Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /

Data Type Query Predicate Operators

Data type query predicate operators return data based on field existence or data types.

Operator
Description

$exists

Matches documents that have the specified field.

Matches documents if a field is of the specified type.

Back

$nin