17 #include <bsoncxx/stdx/optional.hpp>
18 #include <bsoncxx/builder/basic/array.hpp>
19 #include <mongocxx/bulk_write.hpp>
20 #include <mongocxx/options/insert.hpp>
21 #include <mongocxx/result/insert_many.hpp>
22 #include <mongocxx/stdx.hpp>
24 #include <mongocxx/config/prelude.hpp>
27 MONGOCXX_INLINE_NAMESPACE_BEGIN
60 stdx::optional<result::insert_many> insert(
collection* col)
const;
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:34
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
A traditional builder-style interface for constructing a BSON array.
Definition: array.hpp:35
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:74