Skip to content

Glossary: MongoDB

$exists

A query operator that matches documents where a field is present (`true`) or missing (`false`). It answers questions like which products have no roast.

Where the book teaches it

Related terms

Flexible schemaQuery operator