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
39 using id_map = std::map<std::size_t, bsoncxx::document::element>;
61 std::int32_t inserted_count()
const;
70 id_map inserted_ids()
const;
76 MONGOCXX_PRIVATE
void _buildInsertedIds();
92 MONGOCXX_INLINE_NAMESPACE_END
95 #include <mongocxx/config/postlude.hpp> Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
A read-only BSON array that owns its underlying buffer.
Definition: value.hpp:34
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:87