#include <mongocxx/v_noabi/mongocxx/result/insert_one.hpp>
The result of a MongoDB insert operation.
Public Member Functions | |
| insert_one (v1::insert_one_result opts) | |
| Construct with the mongocxx::v1 equivalent. | |
| insert_one (v_noabi::result::bulk_write result, bsoncxx::v_noabi::types::view inserted_id) | |
| bsoncxx::v_noabi::types::bson_value::view const & | inserted_id () const |
| Gets the _id of the inserted document. | |
| operator v1::insert_one_result () const | |
| Convert to the mongocxx::v1 equivalent. | |
| v_noabi::result::bulk_write const & | result () const |
| Returns the bulk write result for this insert operation. | |
|
inline |
| mongocxx::v_noabi::result::insert_one::insert_one | ( | v1::insert_one_result | opts | ) |
Construct with the mongocxx::v1 equivalent.
|
inline |
Gets the _id of the inserted document.
|
explicit |
Convert to the mongocxx::v1 equivalent.
|
inline |
Returns the bulk write result for this insert operation.