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