aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/unary.rb
Commit message (Collapse)AuthorAgeFilesLines
* call super from initializeAaron Patterson2013-05-171-0/+1
|
* Add equality to ALL THE THINGS (that matter)Ernie Miller2012-08-181-0/+10
| | | | | | | | | | | | 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
* Include Predications in GroupingErnie Miller2012-05-191-1/+0
| | | | | | Also, removed unused ordering.rb file, since it is identical to the one being created in unary.rb already, and isn't required anywhere.
* Break Ordering into Ascending/Descending nodes, allow reversalErnie Miller2011-06-151-0/+1
|
* adding Distinct ON nodeAaron Patterson2011-04-211-6/+1
|
* adding a DISTINCT nodeAaron Patterson2011-04-211-0/+6
|
* adding a Bin node to emit mysql BINARY keywordsAaron Patterson2011-04-111-0/+1
|
* Lock should be a unary nodeAaron Patterson2011-02-211-0/+1
|
* Merge branch '2-0-stable' into mergeAaron Patterson2011-01-031-2/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | cleaning up more nodesAaron Patterson2010-12-141-0/+12
|/
* adding unary nodeAaron Patterson2010-11-291-0/+11