17#include <bsoncxx/document/view_or_value.hpp>
19#include <mongocxx/config/prelude.hpp>
22inline namespace v_noabi {
43 const bsoncxx::document::view_or_value&
document()
const;
46 bsoncxx::document::view_or_value _document;
53#include <mongocxx/config/postlude.hpp>
Class representing a MongoDB insert operation that creates a single document.
Definition insert_one.hpp:28
const bsoncxx::document::view_or_value & document() const
Gets the document to be inserted.
insert_one(bsoncxx::document::view_or_value document)
Constructs an insert operation that will create a single document.
The top-level namespace for mongocxx library entities.
Definition bulk_write.hpp:24