MongoDB C++ Driver
mongocxx-3.1.0
|
Class representing the result of a MongoDB insert many operation (executed as a bulk write). More...
#include <insert_many.hpp>
Public Member Functions | |
const result::bulk_write & | result () const |
Returns the bulk write result for this insert many operation. More... | |
std::int32_t | inserted_count () const |
Gets the number of documents that were inserted during this operation. More... | |
id_map | inserted_ids () |
Gets the _ids of the inserted documents. More... | |
Class representing the result of a MongoDB insert many operation (executed as a bulk write).
std::int32_t mongocxx::result::insert_many::inserted_count | ( | ) | const |
Gets the number of documents that were inserted during this operation.
id_map mongocxx::result::insert_many::inserted_ids | ( | ) |
Gets the _ids of the inserted documents.
const result::bulk_write& mongocxx::result::insert_many::result | ( | ) | const |
Returns the bulk write result for this insert many operation.