We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8c1a41 commit c9abecdCopy full SHA for c9abecd
source/write/bulk-write.txt
@@ -67,6 +67,11 @@ The following example creates an instance of ``InsertOne``:
67
68
To insert multiple documents, create an instance of ``InsertOne`` for each document.
69
70
+.. note::
71
+
72
+ You must specify the ``_id`` field for each document you insert. If you don't, the driver
73
+ throws a duplicate key error.
74
75
Update Operations
76
~~~~~~~~~~~~~~~~~
77
0 commit comments