@@ -502,7 +502,7 @@ Update Example
502502~~~~~~~~~~~~~~
503503
504504The 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.
513513This example increments the value of the ``age`` field by ``1`` in the
514514document that has a ``name`` value of ``"Freya Polk"`` in the ``people``
515515collection. 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``
517517value of ``"electronic"`` in the ``things`` collection.
518518
519519If multiple documents match the query filter specified in
520520a ``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>`__
523523instance to apply an order to matched documents before the driver
524524performs the update operation, as shown in the following code:
@@ -535,7 +535,7 @@ Replace Example
535535~~~~~~~~~~~~~~~
536536
537537The 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
551551If multiple documents match the query filter specified in
552552a ``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>`__
555555instance to apply an order to matched documents before the driver
556556performs the replace operation, as shown in the following code:
0 commit comments