Skip to content

Commit 75750cf

Browse files
committed
DOCS-11964: distinct and snapshot rc
1 parent 8ee807f commit 75750cf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

source/reference/read-concern.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,15 +271,15 @@ The following operations support read concern:
271271
- |checkmark|
272272
- |checkmark|
273273
- |checkmark|
274-
- |checkmark|
274+
-
275275
- |checkmark|
276276

277277
* - :dbcommand:`distinct`
278278

279279
- |checkmark|
280280
- |checkmark|
281281
- |checkmark|
282-
- |checkmark|
282+
- |checkmark| [#distinct]_
283283
- |checkmark|
284284

285285

@@ -335,6 +335,12 @@ The following operations support read concern:
335335

336336
.. include:: /includes/extracts/4.2-changes-out-linearizable.rst
337337

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+
338344
The following write operations can also accept a read concern if part
339345
of a multi-document transaction:
340346

0 commit comments

Comments
 (0)