Skip to content

Commit ca2caee

Browse files
committed
JK tech review 1
1 parent f381e64 commit ca2caee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/fundamentals/crud/write-operations/bulk.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ the ``age`` field in a document where the ``_id`` is ``2``:
211211
If multiple documents match the query filter specified in
212212
the ``UpdateOneModel`` instance, the operation updates the first
213213
result. You can specify a sort in an ``UpdateOptions`` instance to apply
214-
an order to matched documents before the driver performs the replace
214+
an order to matched documents before the driver performs the update
215215
operation, as shown in the following code:
216216

217217
.. code-block:: java

source/fundamentals/crud/write-operations/modify.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ The following example demonstrates how to change the value of the
100100
:end-before: end updateOneExample
101101

102102
If multiple documents match the query filter specified in
103-
the ``updateOne()`` method, it replaces the first result. You can
103+
the ``updateOne()`` method, it updates the first result. You can
104104
specify a sort in an ``UpdateOptions`` instance to apply an order to
105-
matched documents before the driver performs the replace operation, as
105+
matched documents before the driver performs the update operation, as
106106
shown in the following code:
107107

108108
.. literalinclude:: /includes/fundamentals/code-snippets/Update.java

0 commit comments

Comments
 (0)