#include <mongocxx/v_noabi/mongocxx/events/command_succeeded_event.hpp>
The successful execution of a MongoDB command.
- See also
-
◆ command_succeeded_event() [1/2]
| mongocxx::v_noabi::events::command_succeeded_event::command_succeeded_event |
( |
void const * | event | ) |
|
|
explicit |
◆ command_succeeded_event() [2/2]
◆ command_name()
Returns the name of the command.
- Returns
- The command name.
◆ duration()
| std::int64_t mongocxx::v_noabi::events::command_succeeded_event::duration |
( |
| ) |
const |
|
inline |
Returns the duration of the successful operation.
- Returns
- The duration in microseconds.
◆ host()
Returns the host name.
- Returns
- The host name.
◆ operation_id()
| std::int64_t mongocxx::v_noabi::events::command_succeeded_event::operation_id |
( |
| ) |
const |
|
inline |
Returns the operation id.
- Returns
- The operation id.
◆ operator v1::events::command_succeeded()
◆ port()
| std::uint16_t mongocxx::v_noabi::events::command_succeeded_event::port |
( |
| ) |
const |
|
inline |
Returns the port.
- Returns
- The port.
◆ reply()
Returns the server reply for the succeeded operation.
- Returns
- The reply.
◆ request_id()
| std::int64_t mongocxx::v_noabi::events::command_succeeded_event::request_id |
( |
| ) |
const |
|
inline |
Returns the request id.
- Returns
- The request id.
◆ service_id()
Optionally returns the service id.
- Returns
- No contained value, or contains the service id if load balancing is enabled.
The documentation for this class was generated from the following file: