#include <mongocxx/v_noabi/mongocxx/events/command_succeeded_event.hpp>
The successful execution of a MongoDB command.
- See also
-
◆ command_succeeded_event() [1/2]
◆ command_succeeded_event() [2/2]
◆ command_name()
Returns the name of the command.
- Returns
- The command name.
◆ duration()
Returns the duration of the successful operation.
- Returns
- The duration in microseconds.
◆ host()
Returns the host name.
- Returns
- The host name.
◆ operation_id()
Returns the operation id.
- Returns
- The operation id.
◆ operator v1::events::command_succeeded()
◆ port()
Returns the port.
- Returns
- The port.
◆ reply()
Returns the server reply for the succeeded operation.
- Returns
- The reply.
◆ request_id()
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: