File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -148,11 +148,11 @@ describes some options you can set in the array:
148
148
* - ``comment``
149
149
- | A comment to attach to the operation. For more information, see the :manual:`insert command
150
150
fields </reference/command/insert/#command-fields>` guide in the
151
- {+mdb-server+} manual for more information .
151
+ {+mdb-server+} manual.
152
152
153
153
The following example uses the ``updateMany()`` method to find all documents that
154
154
have ``borough`` value of ``'Manhattan'``. It then updates the ``borough`` value
155
- in these documents to ``'Manhattan (north)'' ``. Because the ``upsert`` option is
155
+ in these documents to ``'Manhattan (north)'``. Because the ``upsert`` option is
156
156
set to ``true``, the {+php-library+} inserts a new document if the query filter doesn't
157
157
match any existing documents.
158
158
@@ -200,6 +200,7 @@ of matching documents from ``'Dunkin' Donuts'`` to ``'Dunkin''``. It calls the
200
200
``getModifiedCount()`` member function to print the number of modified documents:
201
201
202
202
.. io-code-block::
203
+ :copyable:
203
204
204
205
.. input:: /includes/write/update.php
205
206
:start-after: start-update-result
@@ -208,7 +209,8 @@ of matching documents from ``'Dunkin' Donuts'`` to ``'Dunkin''``. It calls the
208
209
:dedent:
209
210
210
211
.. output::
211
-
212
+ :visible: false
213
+
212
214
Modified documents: 206
213
215
214
216
Additional Information
You can’t perform that action at this time.
0 commit comments