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 b637bf4 commit d45d039Copy full SHA for d45d039
source/reference/operator/meta/maxTimeMS.txt
@@ -18,12 +18,12 @@ $maxTimeMS
18
19
db.collection.find().maxTimeMS(100)
20
21
- You can also specify the option in either of the following forms:
+ You can also specify the option in any of the following forms:
22
23
.. code-block:: javascript
24
25
- db.collection.find( $query: { } , $maxTimeMS: 100 } )
26
- db.collection.find()._addSpecial("$maxTimeMS", 100)
+ db.collection.find( { } , { $maxTimeMS: 100 } )
+ db.collection.find( { } )._addSpecial("$maxTimeMS", 100)
27
28
Interrupted operations return an error message similar to the
29
following:
0 commit comments