MongoDB C++ Driver
mongocxx-3.6.2
|
19 #include <bsoncxx/stdx/optional.hpp>
20 #include <bsoncxx/types.hpp>
21 #include <mongocxx/result/bulk_write.hpp>
22 #include <mongocxx/stdx.hpp>
24 #include <mongocxx/config/prelude.hpp>
27 MONGOCXX_INLINE_NAMESPACE_BEGIN
62 stdx::optional<bsoncxx::document::element>
upserted_id()
const;
72 MONGOCXX_INLINE_NAMESPACE_END
75 #include <mongocxx/config/postlude.hpp>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
Class representing the result of a MongoDB bulk write operation.
Definition: bulk_write.hpp:34
const result::bulk_write & result() const
Returns the bulk write result for this replace_one operation.
stdx::optional< bsoncxx::document::element > upserted_id() const
Gets the id of the upserted document.
std::int32_t modified_count() const
Gets the number of documents that were modified during this operation.
Class representing the result of a MongoDB replace_one operation.
Definition: replace_one.hpp:31
std::int32_t matched_count() const
Gets the number of documents that were matched during this operation.