Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support batching using composite primary keys and multiple column ord…
…ering When find_each/find_in_batches/in_batches are performed on a table with composite primary keys, ascending or descending order can be selected for each key. ```ruby Person.find_each(order: [:desc, :asc]) do |person| person.party_all_night! end ```
- Loading branch information
1 parent
628cdf9
commit 9452b59
Showing
3 changed files
with
127 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters