module Mongo::Operation::Limited

Shared behavior of operations that require its documents to each have an id.

@since 2.5.2 @api private

Private Instance Methods

options(connection) click to toggle source

Get the options for executing the operation on a particular connection.

@param [ Server::Connection ] connection The connection that the

operation will be executed on.

@return [ Hash ] The options.

@since 2.0.0

Calls superclass method
# File lib/mongo/operation/shared/limited.rb, line 37
def options(connection)
  super.merge(limit: -1)
end