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