module ActiveRecord::Batches

def apply_start_limit(relation, start, order)

def apply_start_limit(relation, start, order)
  relation.where(predicate_builder[primary_key, start, order == :desc ? :lteq : :gteq])
end