File tree Expand file tree Collapse file tree 1 file changed +10
-21
lines changed Expand file tree Collapse file tree 1 file changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -209,27 +209,16 @@ The example performs the following on the ``listingsAndReviews`` collection:
209
209
- Matches documents in which the market field of the address subdocument, ``address.market`` is "Sydney"
210
210
- Updates the ``price`` in the matched documents by 1.15 times
211
211
212
- .. io-code-block::
213
- :copyable: true
214
-
215
- .. input::
216
-
217
- .. literalinclude:: /includes/usage-examples/code-snippets/updateMany.go
218
- :start-after: begin updatemany
219
- :end-before: end updatemany
220
- :emphasize-lines: 9
221
- :language: go
222
- :copyable:
223
- :dedent:
224
-
225
- .. output::
226
- :language: none
227
- :visible: false
228
-
229
- Documents updated: 609
230
-
231
- After you run the example, you can find the following updated
232
- documents in the ``listingsAndReviews`` collection:
212
+ .. literalinclude:: /includes/usage-examples/code-snippets/updateMany.go
213
+ :start-after: begin updatemany
214
+ :end-before: end updatemany
215
+ :emphasize-lines: 9
216
+ :language: go
217
+ :copyable:
218
+ :dedent:
219
+
220
+ The following query updates 609 documents. After you run the example, you can
221
+ find the following updated documents in the ``listingsAndReviews`` collection:
233
222
234
223
.. code-block:: json
235
224
:copyable: false
You can’t perform that action at this time.
0 commit comments