struct Mongo::Monitoring::Commands::CommandStartedEvent


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

Defined in:


Instance Method Summary

Constructor methods inherited from struct Mongo::Monitoring::Commands::Event

new new

Instance Method Detail

def address : String #

Returns the server address.

def command : BSON #

Returns the command.

def command_name : String #

Returns the command name.

def database_name : String #

Returns the database name.

def operation_id : Int64? #

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

def request_id : Int64 #

Returns the driver generated request id.