Skip to content

Commit 4493403

Browse files
jeff-allen-mongokay-kim
authored andcommitted
DOCS-11163 - Fixing note about sharded collections for remove ops
1 parent 6207fbb commit 4493403

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
All |single-modification-operation-names| operations for a sharded collection
2-
must include the :term:`shard key` *or* the ``_id`` field in the query
3-
specification. |single-modification-operation-names| operations without the
4-
:term:`shard key` *or* the ``_id`` field return an error.
1+
All |single-modification-operation-names| operations for a sharded
2+
collection that specify the ``justOne`` option must include the
3+
:term:`shard key` *or* the ``_id`` field in the query specification.
4+
|single-modification-operation-names| operations specifying ``justOne``
5+
in a sharded collection which do not contain either the
6+
:term:`shard key` or the ``_id`` field return an error.

0 commit comments

Comments
 (0)