Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/write/bulk-write.txt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ The following example creates an instance of ``InsertOne``:

To insert multiple documents, create an instance of ``InsertOne`` for each document.

.. note::

You must specify a value for the ``_id`` field for each document you insert. If you don't,
the driver throws a ``DuplicateKeyError``.

Update Operations
~~~~~~~~~~~~~~~~~

Expand Down
Loading