#include <mongocxx/v_noabi/mongocxx/result/insert_many.hpp>
The result of a MongoDB insert many operation.
Public Member Functions | |
| insert_many (result::bulk_write result, bsoncxx::v_noabi::array::value inserted_ids) | |
| insert_many (v1::insert_many_result opts) | |
| Construct with the mongocxx::v1 equivalent. | |
| 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. | |
| operator v1::insert_many_result () const | |
| Convert to the mongocxx::v1 equivalent. | |
| v_noabi::result::bulk_write const & | result () const |
| Returns the bulk write result for this insert many operation. | |
| mongocxx::v_noabi::result::insert_many::insert_many | ( | v1::insert_many_result | opts | ) |
Construct with the mongocxx::v1 equivalent.
|
inline |
|
inline |
Gets the number of documents that were inserted during this operation.
|
inline |
Gets the _ids of the inserted documents.
|
explicit |
Convert to the mongocxx::v1 equivalent.
|
inline |
Returns the bulk write result for this insert many operation.