method

apply_limits

rails latest stable - Class: ActiveRecord::Batches
apply_limits(relation, start, finish, batch_orders)
private

No documentation available.

# File activerecord/lib/active_record/relation/batches.rb, line 284
      def apply_limits(relation, start, finish, batch_orders)
        relation = apply_start_limit(relation, start, batch_orders) if start
        relation = apply_finish_limit(relation, finish, batch_orders) if finish
        relation
      end