@@ -1592,8 +1592,13 @@ def insert_many(self,
15921592 return_old = False ):
15931593 """Insert multiple documents.
15941594
1595- If inserting a document fails, the exception object is placed in the
1596- result list instead of document metadata.
1595+ .. note::
1596+
1597+ If inserting a document fails, the exception is not raised but
1598+ returned as an object in the result list. It is up to you to
1599+ inspect the list to determine which documents were inserted
1600+ successfully (returns document metadata) and which were not
1601+ (returns exception object).
15971602
15981603 :param documents: List of new documents to insert. If they contain the
15991604 "_key" or "_id" fields, the values are used as the keys of the new
@@ -1746,8 +1751,13 @@ def update_many(self,
17461751 silent = False ):
17471752 """Update multiple documents.
17481753
1749- If updating a document fails, the exception object is placed in the
1750- result list instead of document metadata.
1754+ .. note::
1755+
1756+ If updating a document fails, the exception is not raised but
1757+ returned as an object in the result list. It is up to you to
1758+ inspect the list to determine which documents were updated
1759+ successfully (returns document metadata) and which were not
1760+ (returns exception object).
17511761
17521762 :param documents: Partial or full documents with the updated values.
17531763 They must contain the "_id" or "_key" fields.
@@ -1953,8 +1963,13 @@ def replace_many(self,
19531963 silent = False ):
19541964 """Replace multiple documents.
19551965
1956- If replacing a document fails, the exception object is placed in the
1957- result list instead of document metadata.
1966+ .. note::
1967+
1968+ If replacing a document fails, the exception is not raised but
1969+ returned as an object in the result list. It is up to you to
1970+ inspect the list to determine which documents were replaced
1971+ successfully (returns document metadata) and which were not
1972+ (returns exception object).
19581973
19591974 :param documents: New documents to replace the old ones with. They must
19601975 contain the "_id" or "_key" fields. Edge documents must also have
@@ -2142,8 +2157,13 @@ def delete_many(self,
21422157 silent = False ):
21432158 """Delete multiple documents.
21442159
2145- If deleting a document fails, the exception object is placed in the
2146- result list instead of document metadata.
2160+ .. note::
2161+
2162+ If deleting a document fails, the exception is not raised but
2163+ returned as an object in the result list. It is up to you to
2164+ inspect the list to determine which documents were deleted
2165+ successfully (returns document metadata) and which were not
2166+ (returns exception object).
21472167
21482168 :param documents: Document IDs, keys or bodies. Document bodies must
21492169 contain the "_id" or "_key" fields.
0 commit comments