-
- Downloads
Introducing loose index scan AR helper
This MR adds loose index scan helper to active record models and an extension to EachBatch to iterate over distinct values in a column that contains non-distinct values.
parent
2c80b38f
No related branches found
No related tags found
Showing
- app/models/concerns/each_batch.rb 61 additions, 0 deletionsapp/models/concerns/each_batch.rb
- app/models/concerns/loose_index_scan.rb 66 additions, 0 deletionsapp/models/concerns/loose_index_scan.rb
- doc/development/iterating_tables_in_batches.md 28 additions, 7 deletionsdoc/development/iterating_tables_in_batches.md
- spec/models/concerns/each_batch_spec.rb 92 additions, 7 deletionsspec/models/concerns/each_batch_spec.rb
- spec/models/concerns/loose_index_scan_spec.rb 57 additions, 0 deletionsspec/models/concerns/loose_index_scan_spec.rb
app/models/concerns/loose_index_scan.rb
0 → 100644
Please register or sign in to comment