17 #include <mongocxx/model/insert_one-fwd.hpp>
19 #include <bsoncxx/document/view_or_value.hpp>
21 #include <mongocxx/config/prelude.hpp>
55 #include <mongocxx/config/postlude.hpp>
Class representing a MongoDB insert operation that creates a single document.
Definition: insert_one.hpp:30
insert_one(bsoncxx::v_noabi::document::view_or_value document)
Constructs an insert operation that will create a single document.
const bsoncxx::v_noabi::document::view_or_value & document() const
Gets the document to be inserted.
The top-level namespace for mongocxx library entities.
Definition: bulk_write-fwd.hpp:19