On this page
$queryoperator forces MongoDB to interpret an expression as a query.
mongooperations are equivalent, and return only those documents in the collection named
$queryis necessary to work with documents that contain a field name
querywhose value is an embedded document, such as the following document:
The following find operation that does not use the
$queryoperator will return no results:
To obtain the document, you will need to use the following query: