Combining Conditions: $and, $or and $not

Two fields in one filter already mean "and"; $or matches when any of its conditions does, $and holds conditions that can't share one document, and $not and $nor rule documents out.

By

Updated

Cheat sheet: Combining Conditions: $and, $or and $not
Category
MongoDB
Level
Apprentice
Tags
Logical Operators (mongodb), mongodb, Query Filter, Query Operators