Method: Mongo::Operation::Specifiable#command

Defined in:
lib/mongo/operation/shared/specifiable.rb

#command(connection) ⇒ Hash

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The command.

Returns:

  • (Hash)

    The command.

Since:

  • 2.5.2



538
539
540
# File 'lib/mongo/operation/shared/specifiable.rb', line 538

def command(connection)
  selector(connection)
end