method
apply_start_limit
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Batches
apply_start_limit(relation, cursor, start, batch_orders)private
No documentation available.
# File activerecord/lib/active_record/relation/batches.rb, line 334
def apply_start_limit(relation, cursor, start, batch_orders)
operators = batch_orders.map do |_column, order|
order == :desc ? :lteq : :gteq
end
batch_condition(relation, cursor, start, operators)
end