method

build_batch_orders

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: ActiveRecord::Batches
build_batch_orders(cursor, 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 363
      def build_batch_orders(cursor, order)
        cursor.zip(Array(order)).map do |column, order_|
          [column, order_ || DEFAULT_ORDER]
        end
      end
Register or log in to add new notes.