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 @@ -82,12 +82,12 @@ content: |
8282 indexed field on the index used by the query, then the cursor could
8383 return the same document more than once.
8484
85- If your collection has a field or fields that are
86- never modified, you can use a *unique* index on this field or these
87- fields so that the query will return each document no more than
88- once. Query with :method:`~ cursor.hint()` to explicitly force the
89- query to use that index .
90-
85+ Queries that use :ref:`unique indexes <index-type-unique>` can, in
86+ some cases, return duplicate values. If a cursor using a unique index
87+ interleaves with a delete and insert of documents sharing the same
88+ unique value, the cursor may return the same unique value twice from
89+ different documents .
90+
9191 ---
9292ref : lock-general
9393content : |
You can’t perform that action at this time.
0 commit comments