mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
6efb39456a
This is a similar case to wanting ot use bind params for limit and offset. Right now passing a range grows the amount of prepared statements in an unbounded fashion. We could avoid using prepared statements in that case, similar to what we do with arrays, but there's a known number of variants for ranges. This ends up duplicating some of the logic from Arel for how to handle potentially infinite ranges, and that behavior may be removed from Arel in the future. Fixes #23074 |
||
---|---|---|
.. | ||
batches | ||
predicate_builder | ||
batches.rb | ||
calculations.rb | ||
delegation.rb | ||
finder_methods.rb | ||
from_clause.rb | ||
merger.rb | ||
predicate_builder.rb | ||
query_attribute.rb | ||
query_methods.rb | ||
record_fetch_warning.rb | ||
spawn_methods.rb | ||
where_clause.rb | ||
where_clause_factory.rb |