Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move #as to AliasPredication, stop overriding Function's #as. | Ernie Miller | 2011-04-29 | 1 | -4/+0 |
| | |||||
* | Revert "Merged pull request #40 from gmile/master." | Aaron Patterson | 2011-04-29 | 1 | -11/+1 |
| | | | | | This reverts commit 490d6f98f8974c717ddca29df162f5f1ad48e094, reversing changes made to dd07005dceb6641214f7d1166f75acbd379fb570. | ||||
* | Merged pull request #40 from gmile/master. | Aaron Patterson | 2011-04-29 | 1 | -1/+11 |
|\ | | | | | Passing nil in array generates improper SQL | ||||
| * | Generate more sqlish queue. | gmile | 2011-03-24 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | Now, instead of the following SQL code: some_field IN (1, 2, NULL) Arel will generate the proper one: some_field IN (1, 2) OR IS NULL | ||||
* | | Add support for ordering on expressions | Arthur Taylor | 2011-04-28 | 1 | -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_all | Ernie Miller | 2011-04-19 | 1 | -11/+4 |
|/ | |||||
* | Make as factory method convert alias name to SqlLiteral | Ernie Miller | 2011-03-12 | 1 | -1/+1 |
| | |||||
* | Fix modification of input on *_any/*_all predications | Ernie Miller | 2011-02-08 | 1 | -0/+2 |
| | |||||
* | stop using deprecated AND usage | Aaron Patterson | 2010-12-09 | 1 | -3/+3 |
| | |||||
* | refactoring where, fixing subselect | Aaron Patterson | 2010-12-07 | 1 | -2/+2 |
| | |||||
* | implementation for passing a subquery to #in and #not_in | Sven Fuchs | 2010-12-07 | 1 | -2/+2 |
| | |||||
* | adding an AS node | Aaron Patterson | 2010-11-23 | 1 | -1/+5 |
| | |||||
* | Fixed Ruby 1.8 performance regression for Nodes::In and Nodes::NotIn queries ↵ | Rolf Timmermans | 2010-11-18 | 1 | -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 Miller | 2010-10-27 | 1 | -0/+177 |