aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/predications.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add support for ordering on expressionsArthur Taylor2011-04-281-8/+1
| | | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb lib/arel/nodes/infix_operation.rb lib/arel/nodes/named_function.rb Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb
* Improve performance of grouping_any/grouping_allErnie Miller2011-04-191-11/+4
|
* Make as factory method convert alias name to SqlLiteralErnie Miller2011-03-121-1/+1
|
* Fix modification of input on *_any/*_all predicationsErnie Miller2011-02-081-0/+2
|
* 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