We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657ca78 commit ab4fcabCopy full SHA for ab4fcab
source/core/index-compound.txt
@@ -79,7 +79,7 @@ as well as both ``item`` and ``stock`` fields:
79
.. code-block:: javascript
80
81
db.products.find( { item: "Banana" } )
82
- db.products.find( { item: "Banana", stock: { gt: 5 } } )
+ db.products.find( { item: "Banana", stock: { $gt: 5 } } )
83
84
For details, see :ref:`compound-index-prefix`.
85
0 commit comments