method
apply_start_limit
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::Batches
apply_start_limit(relation, start, order)private
No documentation available.
# File activerecord/lib/active_record/relation/batches.rb, line 274
def apply_start_limit(relation, start, order)
relation.where(predicate_builder[primary_key, start, order == :desc ? :lteq : :gteq])
end