Update rails
to version 8.0.1 (#32357)
This commit is contained in:
parent
f9582bcfc3
commit
535866218e
6 changed files with 71 additions and 64 deletions
|
@ -13,7 +13,9 @@ module ActiveRecord
|
|||
|
||||
column_names.unshift(primary_key)
|
||||
|
||||
relation = relation.reorder(build_batch_orders(order).to_h).limit(batch_limit)
|
||||
cursor = Array(primary_key)
|
||||
|
||||
relation = relation.reorder(build_batch_orders(cursor, order).to_h).limit(batch_limit)
|
||||
relation.skip_query_cache!
|
||||
|
||||
batch_relation = relation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue