Skip to content

Commit c195cb1

Browse files
committed
DOCSP-16570 fix typo in 4.2 changelog
1 parent fb11ea5 commit c195cb1

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

source/includes/extracts-4.2-changes.yaml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -801,15 +801,14 @@ content: |
801801
802802
Starting in MongoDB 4.2,
803803
804-
- Replace document operations, such as
805-
:method:`db.collection.replaceOne()` or :ref:`db.collection.update(
806-
query, replacement, ... ) <update-behavior-replacement-document>`,
807-
attempt to target a single shard, first by using the query filter. If the
808-
operation cannot target a single shard by the query filter, it then
809-
attempts to target by the replacement document.
810-
811-
In earlier versions, the operation attempts to target using the
812-
replacement document.
804+
- Operations which replace documents, such as
805+
:method:`~db.collection.replaceOne()` or
806+
:method:`~db.collection.update()` (when used with a replacement
807+
document), will first attempt to target a single shard by using the
808+
query filter. If the operation cannot target a single shard by the
809+
query filter, it then attempts to target by the replacement
810+
document. In earlier versions, these operations only attempt to
811+
target using the replacement document.
813812
814813
- The :method:`~db.collection.save()` method is deprecated: use the
815814
:method:`~db.collection.insertOne()` or

0 commit comments

Comments
 (0)