MongoDB C++ Driver
mongocxx-3.10.2
|
Class representing the result of a MongoDB update operation. More...
#include <update.hpp>
Public Member Functions | |
const result::bulk_write & | result () const |
Returns the bulk write result for this update 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... | |
std::int32_t | upserted_count () const |
Gets the number of documents that were upserted during this operation. More... | |
stdx::optional< bsoncxx::v_noabi::document::element > | upserted_id () const |
If a document was upserted during this operation, gets the _id of the upserted document. More... | |
Class representing the result of a MongoDB update operation.
std::int32_t mongocxx::v_noabi::result::update::matched_count | ( | ) | const |
Gets the number of documents that were matched during this operation.
std::int32_t mongocxx::v_noabi::result::update::modified_count | ( | ) | const |
Gets the number of documents that were modified during this operation.
const result::bulk_write& mongocxx::v_noabi::result::update::result | ( | ) | const |
Returns the bulk write result for this update operation.
std::int32_t mongocxx::v_noabi::result::update::upserted_count | ( | ) | const |
Gets the number of documents that were upserted during this operation.
stdx::optional<bsoncxx::v_noabi::document::element> mongocxx::v_noabi::result::update::upserted_id | ( | ) | const |
If a document was upserted during this operation, gets the _id of the upserted document.