#include <mongocxx/v_noabi/mongocxx/events/command_started_event.hpp>
The start of the execution of a MongoDB command.
- See also
-
◆ command_started_event() [1/2]
◆ command_started_event() [2/2]
◆ command()
Returns the command that has been started.
- Returns
- The command.
◆ command_name()
Returns the name of the command.
- Returns
- The command name.
◆ database_name()
Returns the name of the database.
- Returns
- The database name.
◆ host()
Returns the host name.
- Returns
- The host name.
◆ operation_id()
Returns the operation id.
- Returns
- The operation id.
◆ operator v1::events::command_started()
◆ port()
Returns the port.
- Returns
- The port.
◆ 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: