Skip to content

Commit 61907ea

Browse files
committed
MW feedback
1 parent 8f1caea commit 61907ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/write/bulk-write.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ To insert multiple documents, create an instance of ``InsertOne`` for each docum
6969

7070
.. note::
7171

72-
You must specify the ``_id`` field for each document you insert, otherwise the driver
73-
throws a duplicate key error.
72+
You must specify a value for the ``_id`` field for each document you insert. If you don't,
73+
the driver throws a ``DuplicateKeyError``.
7474

7575
Update Operations
7676
~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)