#include <mongocxx/v1/insert_many_result.hpp>
The result of an "insertMany" operation.
Supported fields include:
- See also
-
- Attention
- This feature is experimental! It is not ready for use!
◆ id_map
A map from the operation index to the inserted document ID.
◆ ~insert_many_result()
| mongocxx::v1::insert_many_result::~insert_many_result |
( |
| ) |
|
Destroy this object.
- Warning
- Invalidates all associated views.
◆ insert_many_result() [1/2]
| mongocxx::v1::insert_many_result::insert_many_result |
( |
insert_many_result && | other | ) |
|
|
noexcept |
Move constructor.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ insert_many_result() [2/2]
| mongocxx::v1::insert_many_result::insert_many_result |
( |
insert_many_result const & | other | ) |
|
◆ inserted_count()
| std::int64_t mongocxx::v1::insert_many_result::inserted_count |
( |
| ) |
const |
Return the number of inserted documents.
◆ inserted_ids()
| id_map mongocxx::v1::insert_many_result::inserted_ids |
( |
| ) |
const |
Return a map from the operation index to the inserted document ID.
◆ 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.
◆ 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: