File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -271,15 +271,15 @@ The following operations support read concern:
271
271
- |checkmark|
272
272
- |checkmark|
273
273
- |checkmark|
274
- - |checkmark|
274
+ -
275
275
- |checkmark|
276
276
277
277
* - :dbcommand:`distinct`
278
278
279
279
- |checkmark|
280
280
- |checkmark|
281
281
- |checkmark|
282
- - |checkmark|
282
+ - |checkmark| [#distinct]_
283
283
- |checkmark|
284
284
285
285
@@ -335,6 +335,12 @@ The following operations support read concern:
335
335
336
336
.. include:: /includes/extracts/4.2-changes-out-linearizable.rst
337
337
338
+ .. [#distinct]
339
+
340
+ Read concern :readconcern:`"snapshot"` is available only for
341
+ multi-document transactions. In a transaction, you cannot use the
342
+ ``distinct`` command or its helpers on a sharded collection.
343
+
338
344
The following write operations can also accept a read concern if part
339
345
of a multi-document transaction:
340
346
You can’t perform that action at this time.
0 commit comments