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
Source
# File lib/mongo/operation/shared/limited.rb, line 34 def options(connection) super.merge(limit: -1) end
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