Method: Mongo::Protocol::Query::Upconverter#collection

Defined in:
lib/mongo/protocol/query.rb

#collectionString (readonly)

Returns collection The name of the collection.

Returns:

  • (String)

    collection The name of the collection.

Since:

  • 2.1.0



261
262
263
# File 'lib/mongo/protocol/query.rb', line 261

def collection
  @collection
end