method
compare_values_for_order
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::Batches
compare_values_for_order(values1, values2, order)private
This is a custom implementation of `<=>` operator, which also takes into account how the collection will be ordered.