struct

Mongo::Monitoring::Commands::CommandStartedEvent

Inherits Mongo::Monitoring::Commands::Event / Struct / Value / Object

This event is triggered before sending a command to the server.

Instance methods

address

Returns the server address.

command

Returns the command.

Source
command_name

Returns the command name.

database_name

Returns the database name.

Source
operation_id

Returns the driver generated operation id. This is used to link events together such as bulk write operations. OPTIONAL.

request_id

Returns the driver generated request id.