20 #include <bsoncxx/types.hpp>
21 #include <mongocxx/result/bulk_write.hpp>
23 #include <mongocxx/config/prelude.hpp>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
29 class insert_many_builder;
39 using id_map = std::map<std::size_t, bsoncxx::document::element>;
53 std::int32_t inserted_count()
const;
60 id_map inserted_ids();
69 id_map _generated_ids;
73 MONGOCXX_INLINE_NAMESPACE_END
76 #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
Class representing the result of a MongoDB insert many operation (executed as a bulk write)...
Definition: insert_many.hpp:37
Class representing the result of a MongoDB bulk write operation.
Definition: bulk_write.hpp:34
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:74