|
WARNING: Deprecated since version 1.9.0: Use
mongoc_collection_insert_many() instead.
SYNOPSISbool mongoc_collection_insert_bulk (mongoc_collection_t *collection, PARAMETERS
DESCRIPTIONThis function performs a bulk insert of all of the documents in documents. This function is deprecated as it cannot accurately return which documents may have failed during the bulk insert. ERRORSErrors are propagated via the error parameter. A write concern timeout or write concern error is considered a failure. RETURNSReturns true if successful. Returns false and sets error if there are invalid arguments or a server or network error. AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|