aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/select_core.rb
Commit message (Collapse)AuthorAgeFilesLines
* Change the interface of `having` to match that of `where`Sean Griffin2015-01-271-5/+5
| | | | | | These two clauses have nearly identical semantics with regards to how they would be constructed as an AST. It doesn't make sense for their interfaces to be separate.
* call super from initializeAaron Patterson2013-05-171-0/+1
|
* Add equality to ALL THE THINGS (that matter)Ernie Miller2012-08-181-0/+20
| | | | | | | | | | | | People are often trying to use ARel nodes inside ActiveRecord, and when they do so, lots of things can break, because ActiveRecord relies on Array#uniq and sometimes hash key equality to handle values that end up in wheres, havings, etc. By implementing equality for all the nodes, we should hopefully be able to prevent any nodes (even nodes containing other nodes) from failing an equality check they should otherwise pass, and alleviate many of these errors. Fixes #130
* Support ANSI SQL2003 window functions.Alexander Staubo2012-02-221-1/+3
|
* adding a DISTINCT nodeAaron Patterson2011-04-211-7/+10
|
* Merge branch '2-0-stable' into mergeAaron Patterson2011-01-031-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2-0-stable: updating history Patched Arel v2.0.6 to support MSSQL SQL queries. Based on work of James Abley (https://github.com/jabley/arel). consolidating dot visitor methods refactoring where, fixing subselect implementation for passing a subquery to #in and #not_in tests for passing a subquery to #in and #not_in limit members of the AST are visited quoting limit nodes Conflicts: History.txt lib/arel/nodes.rb lib/arel/nodes/select_core.rb lib/arel/select_manager.rb lib/arel/visitors/to_sql.rb test/visitors/test_to_sql.rb
| * Patched Arel v2.0.6 to support MSSQL SQL queries. Based on work of James ↵Viacheslav Petrenko2011-01-031-1/+2
| | | | | | | | Abley (https://github.com/jabley/arel).
* | fixing typo, thanks @devwoutAaron Patterson2010-12-211-1/+1
| |
* | adding a join source nodeAaron Patterson2010-12-141-7/+15
| |
* | converting froms to fromAaron Patterson2010-12-071-3/+6
|/
* adding ancestor testAaron Patterson2010-11-291-1/+1
|
* from does not need to be a listAaron Patterson2010-09-201-2/+2
|
* totally lame, but arel expects FROM to only be one itemAaron Patterson2010-09-121-1/+1
|
* adding having nodesAaron Patterson2010-09-081-0/+3
|
* group nodes are working!Aaron Patterson2010-09-071-3/+5
|
* deep copies of statements aren't necessary. shallow copy the top-level arrays.Mike Dalessio2010-08-301-3/+3
|
* SelectCore deep copies attributesMike Dalessio2010-08-191-0/+7
|
* limits are addedAaron Patterson2010-08-121-0/+13