Skip to content

Commit 7e01790

Browse files
committed
Fix
1 parent 3b524cc commit 7e01790

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

source/crud/bulk-write.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,24 @@ on a ``Collection`` instance. Select the
274274
.. tab:: Synchronous
275275
:tabid: sync
276276

277+
.. io-code-block::
278+
:copyable:
279+
280+
.. input:: /includes/write/bulk-write.py
281+
:start-after: start-bulk-write-mixed-collection
282+
:end-before: end-bulk-write-mixed-collection
283+
:language: python
284+
285+
.. output::
286+
:visible: false
287+
288+
BulkWriteResult({'writeErrors': [], 'writeConcernErrors': [], 'nInserted': 2,
289+
'nUpserted': 0, 'nMatched': 2, 'nModified': 2, 'nRemoved': 1, 'upserted': []},
290+
acknowledged=True)
291+
292+
.. tab:: Asynchronous
293+
:tabid: async
294+
277295
.. io-code-block::
278296
:copyable:
279297

0 commit comments

Comments
 (0)