File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -106,12 +106,12 @@ content: |
106106 change the indexed field on the index used by the query; then the
107107 cursor will return the same document more than once.
108108
109- If your collection has a field or fields that are
110- never modified, you can use a *unique* index on this field or these
111- fields so that the query will return each document no more than
112- once. Query with :method:`~ cursor.hint()` to explicitly force the
113- query to use that index .
114-
109+ Queries that use :ref:`unique indexes <index-type-unique>` can, in
110+ some cases, return duplicate values. If a cursor using a unique index
111+ interleaves with a delete and insert of documents sharing the same
112+ unique value, the cursor may return the same unique value twice from
113+ different documents .
114+
115115 ---
116116ref : lock-general
117117content : |
You can’t perform that action at this time.
0 commit comments