Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source/reference/operator/query.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ $query

db.collection.find( { $query: { age : 25 } } )

Similar example, with text as value rather than a number:

.. code-block:: javascript

db.collection.find( { $query: { agegroup : "Senior" } } )

This is equivalent to the following :method:`db.collection.find()` method that
may be more familiar to you:

Expand Down