MongoDB C++ Driver 4.1.0
|
#include <mongocxx/v_noabi/mongocxx/result/insert_one.hpp>
The result of a MongoDB insert operation.
Public Member Functions | |
bsoncxx::v_noabi::types::bson_value::view const & | inserted_id () const |
Gets the _id of the inserted document. | |
result::bulk_write const & | result () const |
Returns the bulk write result for this insert operation. | |
bsoncxx::v_noabi::types::bson_value::view const & mongocxx::v_noabi::result::insert_one::inserted_id | ( | ) | const |
Gets the _id of the inserted document.
result::bulk_write const & mongocxx::v_noabi::result::insert_one::result | ( | ) | const |
Returns the bulk write result for this insert operation.