MongoDB C++ Driver
mongocxx-3.6.2
|
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>;
96 MONGOCXX_INLINE_NAMESPACE_END
99 #include <mongocxx/config/postlude.hpp>
std::int32_t deleted_count() const
Gets the number of documents that were deleted during this operation.
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
std::int32_t matched_count() const
Gets the number of documents that were matched during this operation.
Class representing the result of a MongoDB bulk write operation.
Definition: bulk_write.hpp:34
std::int32_t inserted_count() const
Gets the number of documents that were inserted during this operation.
std::int32_t modified_count() const
Gets the number of documents that were modified during this operation.
std::int32_t upserted_count() const
Gets the number of documents that were upserted during this operation.
id_map upserted_ids() const
Gets the ids of the upserted documents.
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