17#include <mongocxx/bulk_write-fwd.hpp>
18#include <mongocxx/collection-fwd.hpp>
20#include <mongocxx/client_session.hpp>
21#include <mongocxx/model/write.hpp>
22#include <mongocxx/options/bulk_write.hpp>
23#include <mongocxx/result/bulk_write.hpp>
25#include <mongocxx/config/prelude.hpp>
99 class MONGOCXX_PRIVATE impl;
105 bool _created_from_collection;
106 std::unique_ptr<impl> _impl;
112#include <mongocxx/config/postlude.hpp>
Class representing a batch of write operations that can be sent to the server as a group.
Definition bulk_write.hpp:44
bulk_write(bulk_write &&) noexcept
Move constructs a bulk write operation.
bulk_write & append(const model::write &operation)
Appends a single write to the bulk write operation.
stdx::optional< result::bulk_write > execute() const
Executes a bulk write.
Use a session for a sequence of operations, optionally with either causal consistency or snapshots.
Definition client_session.hpp:47
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:86
The top-level namespace for mongocxx library entities.
Definition bulk_write-fwd.hpp:19