method
apply_limits
v6.0.0 -
Show latest stable
- Class:
ActiveRecord::Batches
apply_limits(relation, start, finish)private
No documentation available.
# File activerecord/lib/active_record/relation/batches.rb, line 262
def apply_limits(relation, start, finish)
relation = apply_start_limit(relation, start) if start
relation = apply_finish_limit(relation, finish) if finish
relation
end