method

apply_start_limit

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::Batches
apply_start_limit(relation, start, order) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.