#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]
| mongocxx::v_noabi::events::command_started_event::command_started_event |
( |
void const * | event | ) |
|
|
explicit |
◆ 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()
| std::int64_t mongocxx::v_noabi::events::command_started_event::operation_id |
( |
| ) |
const |
|
inline |
Returns the operation id.
- Returns
- The operation id.
◆ operator v1::events::command_started()
◆ port()
| std::uint16_t mongocxx::v_noabi::events::command_started_event::port |
( |
| ) |
const |
|
inline |
Returns the port.
- Returns
- The port.
◆ request_id()
| std::int64_t mongocxx::v_noabi::events::command_started_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: