Skip to content

Commit f793c80

Browse files
committed
JS feedback
1 parent 24681d6 commit f793c80

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

source/write/bulk-write.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,23 @@ specify the write operations:
7171
operations, see the :ref:`Write operation guides <php-write>`.
7272

7373
When you call the ``bulkWrite()`` method, the library automatically runs the
74-
write operations in the order they're specified in the array. To instruct ``bulkWrite()``
75-
to run the write operations in an arbitrary order, see the :ref:`php-bulk-modify` section.
74+
write operations in the order they're specified in the array. To learn how to
75+
instruct ``bulkWrite()`` to run the write operations in an arbitrary order,
76+
see the :ref:`php-bulk-modify` section.
7677

7778
Example
7879
~~~~~~~
7980

8081
This example runs the following write operations on the ``restaurants``
8182
collection:
8283

83-
- Insert operation, which inserts a document in which the ``name`` value is
84+
- **Insert operation** to insert a document in which the ``name`` value is
8485
``'Mongo's Deli'``
8586

86-
- Update operation, which updates the ``cuisine`` field of a document in
87+
- **Update operation** to update the ``cuisine`` field of a document in
8788
which the ``name`` value is ``'Mongo's Deli'``
8889

89-
- Delete operation, which deletes all documents in which the ``borough`` value
90+
- **Delete operation** to delete all documents in which the ``borough`` value
9091
is ``'Manhattan'``
9192

9293
.. literalinclude:: /includes/write/bulk-write.php
@@ -115,8 +116,8 @@ describes the options you can set in the array:
115116
- | Specifies whether the operation bypasses document validation. This lets you
116117
modify documents that don't meet the schema validation requirements, if any
117118
exist. For more information about schema validation, see :manual:`Schema
118-
Validation </core/schema-validation/#schema-validation>` in the MongoDB
119-
Server manual.
119+
Validation </core/schema-validation/#schema-validation>` in the {+mdb-server+}
120+
manual.
120121
| Defaults to ``false``.
121122

122123
* - ``codec``
@@ -140,7 +141,7 @@ describes the options you can set in the array:
140141
- | If set to ``true``: when a single write fails, the operation stops without
141142
performing the remaining writes and throws an exception.
142143
| If set to ``false``: when a single write fails, the operation continues to
143-
attempt the remaining write operations, if any, and throws an exception.
144+
attempt the remaining write operations, if any, then throws an exception.
144145
| Defaults to ``true``.
145146

146147
* - ``comment``

0 commit comments

Comments
 (0)