method

apply_finish_limit

apply_finish_limit(relation, finish, batch_orders)
private

No documentation available.

# File activerecord/lib/active_record/relation/batches.rb, line 297
      def apply_finish_limit(relation, finish, batch_orders)
        operators = batch_orders.map do |_column, order|
          order == :desc ? :gteq : :lteq
        end
        batch_condition(relation, primary_key, finish, operators)
      end