17#include <mongocxx/result/insert_one-fwd.hpp>
19#include <bsoncxx/array/value.hpp>
20#include <bsoncxx/types.hpp>
21#include <bsoncxx/types/bson_value/view.hpp>
22#include <mongocxx/result/bulk_write.hpp>
24#include <mongocxx/config/prelude.hpp>
67#include <mongocxx/config/postlude.hpp>
A read-only BSON array that owns its underlying buffer.
Definition value.hpp:36
A view-only variant that can contain any BSON type.
Definition view.hpp:41
Class representing the result of a MongoDB bulk write operation.
Definition bulk_write.hpp:36
Class representing the result of a MongoDB insert operation.
Definition insert_one.hpp:31
const bsoncxx::v_noabi::types::bson_value::view & inserted_id() const
Gets the _id of the inserted document.
const result::bulk_write & result() const
Returns the bulk write result for this insert operation.
The top-level namespace for mongocxx library entities.
Definition bulk_write-fwd.hpp:19