➤ Use the Select your language drop-down menu in the upper-right to set the language of the following examples.
Different query operators in MongoDB treat
null values differently.
The query returns both documents in the collection.
The query returns only the document where the
item field has a
The following example queries for documents that do not contain a field. 
The query only returns the document that does not contain the
||| Starting in MongoDB 4.2, users can no longer use the query filter