20 #include <bsoncxx/array/value.hpp>
21 #include <bsoncxx/types.hpp>
22 #include <mongocxx/result/bulk_write.hpp>
24 #include <mongocxx/config/prelude.hpp>
27 MONGOCXX_INLINE_NAMESPACE_BEGIN
30 class insert_many_builder;
40 using id_map = std::map<std::size_t, bsoncxx::document::element>;
54 std::int32_t inserted_count()
const;
63 id_map inserted_ids();
82 MONGOCXX_INLINE_NAMESPACE_END
85 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
A read-only BSON array that owns its underlying buffer.
Definition: value.hpp:34
Class to build an insert_many bulk write operation.
Definition: insert_many_builder.hpp:34
Class representing the result of a MongoDB insert many operation (executed as a bulk write)...
Definition: insert_many.hpp:38
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
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