MongoDB C++ Driver
mongocxx-3.1.0
|
Class representing the result of a MongoDB replace_one operation. More...
#include <replace_one.hpp>
Public Member Functions | |
const result::bulk_write & | result () const |
Returns the bulk write result for this replace_one operation. More... | |
std::int32_t | matched_count () const |
Gets the number of documents that were matched during this operation. More... | |
std::int32_t | modified_count () const |
Gets the number of documents that were modified during this operation. More... | |
stdx::optional< bsoncxx::document::element > | upserted_id () const |
Gets the id of the upserted document. More... | |
Class representing the result of a MongoDB replace_one operation.
std::int32_t mongocxx::result::replace_one::matched_count | ( | ) | const |
Gets the number of documents that were matched during this operation.
std::int32_t mongocxx::result::replace_one::modified_count | ( | ) | const |
Gets the number of documents that were modified during this operation.
const result::bulk_write& mongocxx::result::replace_one::result | ( | ) | const |
Returns the bulk write result for this replace_one operation.
stdx::optional<bsoncxx::document::element> mongocxx::result::replace_one::upserted_id | ( | ) | const |
Gets the id of the upserted document.