#include <mongocxx/v1/update_one_result.hpp>
The result of an "updateOne" operation.
Supported fields include:
- See also
-
- Attention
- This feature is experimental! It is not ready for use!
◆ ~update_one_result()
| mongocxx::v1::update_one_result::~update_one_result |
( |
| ) |
|
Destroy this object.
- Warning
- Invalidates all associated views.
◆ update_one_result() [1/2]
| mongocxx::v1::update_one_result::update_one_result |
( |
update_one_result && | other | ) |
|
|
noexcept |
Move constructor.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ update_one_result() [2/2]
| mongocxx::v1::update_one_result::update_one_result |
( |
update_one_result const & | other | ) |
|
◆ matched_count()
| std::int64_t mongocxx::v1::update_one_result::matched_count |
( |
| ) |
const |
Return the number of documents that matched the filter.
◆ modified_count()
| std::int64_t mongocxx::v1::update_one_result::modified_count |
( |
| ) |
const |
Return the number of documents that were modified.
◆ operator=() [1/2]
Move assignment.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ operator=() [2/2]
◆ result()
Return the raw bulk write result.
◆ upserted_count()
| std::int64_t mongocxx::v1::update_one_result::upserted_count |
( |
| ) |
const |
Return the number of documents that were upserted.
◆ upserted_id()
◆ operator!=
Compare equal when all supported fields compare equal.
◆ operator==
Compare equal when all supported fields compare equal.
The documentation for this class was generated from the following file: