21 #include <bsoncxx/document/value.hpp>
22 #include <bsoncxx/document/view.hpp>
23 #include <bsoncxx/types.hpp>
25 #include <mongocxx/config/prelude.hpp>
28 MONGOCXX_INLINE_NAMESPACE_BEGIN
36 using id_map = std::map<std::size_t, bsoncxx::document::element>;
48 std::int32_t inserted_count()
const;
55 std::int32_t matched_count()
const;
62 std::int32_t modified_count()
const;
69 std::int32_t deleted_count()
const;
76 std::int32_t upserted_count()
const;
84 id_map upserted_ids()
const;
93 MONGOCXX_INLINE_NAMESPACE_END
96 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
A read-only BSON document that owns its underlying buffer.
Definition: value.hpp:33
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