aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/predications.rb
Commit message (Collapse)AuthorAgeFilesLines
* stop using deprecated AND usageAaron Patterson2010-12-091-3/+3
|
* refactoring where, fixing subselectAaron Patterson2010-12-071-2/+2
|
* implementation for passing a subquery to #in and #not_inSven Fuchs2010-12-071-2/+2
|
* adding an AS nodeAaron Patterson2010-11-231-1/+5
|
* Fixed Ruby 1.8 performance regression for Nodes::In and Nodes::NotIn queries ↵Rolf Timmermans2010-11-181-7/+7
| | | | with very wide ranges that was caused by using Range#min and Range#max rather than Range#begin and Range#end. Ruby 1.8 uses Enumerable#min and Enumerable#max in Ranges, which calls to_a internally. It is not necessary to enumerate the range in order to construct the predicates. At the same time, an off-by-one error (failing test) with exclusive-end Ranges in Nodes::NotIn queries was fixed.
* Refactor predication methods to be available to SqlLiterals as well.Ernie Miller2010-10-271-0/+177