insert Many
Inserts one or more documents. A call to this method is equivalent to a call to the bulkWrite method
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled.
See also
Parameters
the documents to insert
Throws
if there's an exception in the bulk write operation
if the write failed due some other failure
Inserts one or more documents. A call to this method is equivalent to a call to the bulkWrite method
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled.
See also
Parameters
the documents to insert
the options to apply to the operation
Throws
if there's an exception in the bulk write operation
if the write failed due some other failure
Inserts one or more documents. A call to this method is equivalent to a call to the bulkWrite method
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled.
Since
3.6
See also
Parameters
the client session with which to associate this operation
the documents to insert
Throws
if there's an exception in the bulk write operation
if the write failed due some other failure
Inserts one or more documents. A call to this method is equivalent to a call to the bulkWrite method
Note: Supports retryable writes on MongoDB server versions 3.6 or higher when the retryWrites setting is enabled.
Since
3.6
See also
Parameters
the client session with which to associate this operation
the documents to insert
the options to apply to the operation
Throws
if there's an exception in the bulk write operation
if the write failed due some other failure