diff --git a/source/reference/operator/query.txt b/source/reference/operator/query.txt index 6245fa4f128..e1b5d03b59f 100644 --- a/source/reference/operator/query.txt +++ b/source/reference/operator/query.txt @@ -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: