Skip to content

Commit 6818060

Browse files
committed
MW PR fixes 1
1 parent 344eb73 commit 6818060

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/crud/write-operations/bulk.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ Update Example
502502
~~~~~~~~~~~~~~
503503

504504
The following example shows how to use the ``bulkWrite()`` method to update
505-
existing documents in the ``db.people`` and ``db.things`` collections.
505+
existing documents in the ``db.people`` and ``db.things`` collections:
506506

507507
.. literalinclude:: /includes/fundamentals/code-snippets/bulk-write/ClientBulkWrite.java
508508
:language: java
@@ -513,12 +513,12 @@ existing documents in the ``db.people`` and ``db.things`` collections.
513513
This example increments the value of the ``age`` field by ``1`` in the
514514
document that has a ``name`` value of ``"Freya Polk"`` in the ``people``
515515
collection. It also sets the value of the ``manufacturer`` field to
516-
``"Premium Technologies"`` in all document that have a ``category``
516+
``"Premium Technologies"`` in all documents that have a ``category``
517517
value of ``"electronic"`` in the ``things`` collection.
518518

519519
If multiple documents match the query filter specified in
520520
a ``ClientNamespacedUpdateOneModel`` instance, the operation updates the
521-
first result. You can specify a sort in a `ClientUpdateOneOptions
521+
first result. You can specify a sort order in a `ClientUpdateOneOptions
522522
<{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/bulk/ClientUpdateOneOptions.html>`__
523523
instance to apply an order to matched documents before the driver
524524
performs the update operation, as shown in the following code:
@@ -535,7 +535,7 @@ Replace Example
535535
~~~~~~~~~~~~~~~
536536

537537
The following example shows how to use the ``bulkWrite()`` method to replace
538-
existing documents in the ``db.people`` and ``db.things`` collections.
538+
existing documents in the ``db.people`` and ``db.things`` collections:
539539

540540
.. literalinclude:: /includes/fundamentals/code-snippets/bulk-write/ClientBulkWrite.java
541541
:language: java
@@ -550,7 +550,7 @@ is replaced with a new document.
550550

551551
If multiple documents match the query filter specified in
552552
a ``ClientNamespacedReplaceOneModel`` instance, the operation replaces the
553-
first result. You can specify a sort in a `ClientReplaceOneOptions
553+
first result. You can specify a sort order in a `ClientReplaceOneOptions
554554
<{+api+}/apidocs/mongodb-driver-core/com/mongodb/client/model/bulk/ClientReplaceOneOptions.html>`__
555555
instance to apply an order to matched documents before the driver
556556
performs the replace operation, as shown in the following code:

0 commit comments

Comments
 (0)