File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -538,10 +538,15 @@ Deprecated Options
538
538
539
539
.. versionchanged:: 3.6.1
540
540
541
- - MongoDB 3.6.1 deprecates the ``snapshot`` query option. You can use
542
- :method:`~cursor.hint()` on the ``{ _id: 1}`` index instead to
543
- prevent a cursor from returning a document more than once if an
544
- intervening write operation results in a move of the document.
541
+ - MongoDB 3.6.1 deprecates the ``snapshot`` query option.
542
+
543
+ For MMAPv1, use :method:`~cursor.hint()` on the ``{ _id: 1}`` index
544
+ instead to prevent a cursor from returning a document more than once
545
+ if an intervening write operation results in a move of the document.
546
+
547
+ For other storage engines, use :method:`~cursor.hint()` with ``{
548
+ $natural : 1 }`` instead.
549
+
545
550
546
551
- MongoDB 3.6.1 deprecates the ``$isolated`` option. For more
547
552
information on read isolation, see
You can’t perform that action at this time.
0 commit comments