#include <mongocxx/v1/insert_one_result.hpp>
The result of an "insertOne" operation.
Supported fields include:
- See also
-
- Attention
- This feature is experimental! It is not ready for use!
◆ ~insert_one_result()
| mongocxx::v1::insert_one_result::~insert_one_result |
( |
| ) |
|
Destroy this object.
- Warning
- Invalidates all associated views.
◆ insert_one_result() [1/2]
| mongocxx::v1::insert_one_result::insert_one_result |
( |
insert_one_result && | other | ) |
|
|
noexcept |
Move constructor.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ insert_one_result() [2/2]
| mongocxx::v1::insert_one_result::insert_one_result |
( |
insert_one_result const & | other | ) |
|
◆ inserted_id()
Return 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: