Missing Fields, null and $exists

Documents in one collection don't all have the same fields; a filter for null matches a missing field too, $exists asks whether the field is there at all, and $type finds values stored as the wrong kind.

By

Updated

Cheat sheet: Missing Fields, null and $exists
Category
MongoDB
Level
Apprentice
Tags
$exists, BSON, mongodb, null (mongodb), type()