#include <mongocxx/v_noabi/mongocxx/result/bulk_write.hpp>
The result of a MongoDB bulk write operation.
Public Member Functions | |
| bulk_write (bsoncxx::v_noabi::document::value raw_response) | |
| bulk_write (v1::bulk_write::result result) | |
| Construct with the mongocxx::v1 equivalent. | |
| std::int32_t | deleted_count () const |
| Gets the number of documents that were deleted during this operation. | |
| std::int32_t | inserted_count () const |
| Gets the number of documents that were inserted during this operation. | |
| std::int32_t | matched_count () const |
| Gets the number of documents that were matched during this operation. | |
| std::int32_t | modified_count () const |
| Gets the number of documents that were modified during this operation. | |
| operator v1::bulk_write::result () && | |
| Convert to the mongocxx::v1 equivalent. | |
| operator v1::bulk_write::result () const & | |
| Convert to the mongocxx::v1 equivalent. | |
| 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. | |
|
explicit |
|
inline |
Construct with the mongocxx::v1 equivalent.
| std::int32_t mongocxx::v_noabi::result::bulk_write::deleted_count | ( | ) | const |
Gets the number of documents that were deleted during this operation.
| std::int32_t mongocxx::v_noabi::result::bulk_write::inserted_count | ( | ) | const |
Gets the number of documents that were inserted during this operation.
| std::int32_t mongocxx::v_noabi::result::bulk_write::matched_count | ( | ) | const |
Gets the number of documents that were matched during this operation.
| std::int32_t mongocxx::v_noabi::result::bulk_write::modified_count | ( | ) | const |
Gets the number of documents that were modified during this operation.
|
inlineexplicit |
Convert to the mongocxx::v1 equivalent.
|
inlineexplicit |
Convert to the mongocxx::v1 equivalent.
| std::int32_t mongocxx::v_noabi::result::bulk_write::upserted_count | ( | ) | const |
Gets the number of documents that were upserted during this operation.
| id_map mongocxx::v_noabi::result::bulk_write::upserted_ids | ( | ) | const |
Gets the ids of the upserted documents.