17 #include <bsoncxx/stdx/optional.hpp>
18 #include <mongocxx/bulk_write.hpp>
19 #include <mongocxx/options/insert.hpp>
20 #include <mongocxx/result/insert_many.hpp>
21 #include <mongocxx/stdx.hpp>
23 #include <mongocxx/config/prelude.hpp>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
59 stdx::optional<result::insert_many> insert(
collection* col)
const;
63 result::insert_many::id_map _inserted_ids;
67 MONGOCXX_INLINE_NAMESPACE_END
70 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
Class to build an insert_many bulk write operation.
Definition: insert_many_builder.hpp:33
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Class representing the optional arguments to a MongoDB insert operation.
Definition: insert.hpp:31
Class representing a batch of write operations that can be sent to the server as a group...
Definition: bulk_write.hpp:41
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:74