method
build_batch_orders
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Batches
build_batch_orders(cursor, order)private
No documentation available.
# File activerecord/lib/active_record/relation/batches.rb, line 363
def build_batch_orders(cursor, order)
cursor.zip(Array(order)).map do |column, order_|
[column, order_ || DEFAULT_ORDER]
end
end