87 return {std::move(v)};
A BSON document.
Definition value.hpp:46
insert_one(v1::bulk_write::insert_one op)
Construct with the mongocxx::v1 equivalent.
Definition insert_one.hpp:45
A single "Insert One" write operation.
Definition bulk_write.hpp:173
A MongoDB insert operation that creates a single document.
Definition insert_one.hpp:40
insert_one(bsoncxx::v_noabi::document::view_or_value document)
Constructs an insert operation that will create a single document.
Definition insert_one.hpp:61
bsoncxx::v_noabi::document::view_or_value const & document() const
Gets the document to be inserted.
Definition insert_one.hpp:68
insert_one(v1::bulk_write::insert_one op)
Construct with the mongocxx::v1 equivalent.
Definition insert_one.hpp:45
Provides bsoncxx::v_noabi::document::view_or_value.
Declares mongocxx::v_noabi::model::insert_one.
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
v_noabi::view_or_value< v_noabi::document::view, v_noabi::document::value > view_or_value
Equivalent to v_noabi::view_or_value<v_noabi::document::view, v_noabi::document::value>.
Definition view_or_value.hpp:30
v1::element::view to_v1(v_noabi::array::element const &v)
Convert to the bsoncxx::v1 equivalent of v.
Definition element.hpp:132
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities representing bulk write operations.
Declares entities whose ABI stability is NOT guaranteed.
v1::bulk_write to_v1(v_noabi::bulk_write v)
Convert to the mongocxx::v1 equivalent of v.
Definition bulk_write.hpp:162
v_noabi::bulk_write from_v1(v1::bulk_write v)
Convert to the mongocxx::v_noabi equivalent of v.
Definition bulk_write.hpp:155
The top-level namespace within which all mongocxx library entities are declared.
Provides entities related to write operations.
Provides bsoncxx::v1::document::value.
Provides bsoncxx::v_noabi::document::value.
Provides bsoncxx::v_noabi::document::view.