Method: Mongo::Monitoring::Event::CommandStarted#command

Defined in:
lib/mongo/monitoring/event/command_started.rb

#commandBSON::Document (readonly)

Returns command The command arguments.

Since:

  • 2.1.0



32
33
34
# File 'lib/mongo/monitoring/event/command_started.rb', line 32

def command
  @command
end