How do you distinguish between docs that don’t have a field vs those that have that field with null?
In the video, we removed rated: null from the collection but if we filter by it we still get the same records (but now without rated:null).
Is there some not present/absent filter for fields?
{ “acknowledged” : true, “matchedCount” : 1599, “modifiedCount” : 1599 }
MongoDB Enterprise Sandbox-shard-0:PRIMARY> db.movieDetails.find({rated: null}).count()
1599