File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
source/crud/write-operations Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ contains an added ``location`` field:
165165If multiple documents match the query filter specified in
166166the ``ReplaceOneModel`` instance, the operation replaces the first
167167result. You can specify a sort in a ``ReplaceOptions`` instance to apply
168- an order to matched documents before the driver performs the replace
168+ an order to matched documents before the server performs the replace
169169operation, as shown in the following code:
170170
171171.. code-block:: java
@@ -216,7 +216,7 @@ the ``age`` field in a document where the ``_id`` is ``2``:
216216If multiple documents match the query filter specified in
217217the ``UpdateOneModel`` instance, the operation updates the first
218218result. You can specify a sort in an ``UpdateOptions`` instance to apply
219- an order to matched documents before the driver performs the update
219+ an order to matched documents before the server performs the update
220220operation, as shown in the following code:
221221
222222.. code-block:: java
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ The following example demonstrates how to change the value of the
102102If multiple documents match the query filter specified in
103103the ``updateOne()`` method, it updates the first result. You can
104104specify a sort in an ``UpdateOptions`` instance to apply an order to
105- matched documents before the driver performs the update operation, as
105+ matched documents before the server performs the update operation, as
106106shown in the following code:
107107
108108.. literalinclude:: /includes/fundamentals/code-snippets/Update.java
@@ -234,7 +234,7 @@ The following shows the updated document:
234234If multiple documents match the query filter specified in
235235the ``replaceOne()`` method, it replaces the first result. You can
236236specify a sort in a ``ReplaceOptions`` instance to apply an order to
237- matched documents before the driver performs the replace operation, as
237+ matched documents before the server performs the replace operation, as
238238shown in the following code:
239239
240240.. literalinclude:: /includes/fundamentals/code-snippets/Update.java
You can’t perform that action at this time.
0 commit comments