aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes
Commit message (Collapse)AuthorAgeFilesLines
* Stop calling to_s on aliases, require them to be strings already.Ernie Miller2011-04-291-2/+2
|
* Move #as to AliasPredication, stop overriding Function's #as.Ernie Miller2011-04-293-2/+4
|
* Add support for ordering on expressionsArthur Taylor2011-04-281-0/+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
* adding Distinct ON nodeAaron Patterson2011-04-212-6/+7
|
* adding a DISTINCT nodeAaron Patterson2011-04-212-7/+16
|
* adding a Bin node to emit mysql BINARY keywordsAaron Patterson2011-04-111-0/+1
|
* fixing the leg order of TableAlias nodesAaron Patterson2011-03-301-2/+2
|
* Replace MathOperation with InfixOperation to support more operatorsErnie Miller2011-03-092-15/+42
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-03-071-0/+4
|\ | | | | | | | | * 'master' of github.com:rails/arel: Add an #table_name method to Table and TableAlias, which always returns the actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect).
| * Add an #table_name method to Table and TableAlias, which always returns the ↵Jon Leighton2011-03-041-0/+4
| | | | | | | | actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect).
* | Merge remote branch 'stiff/master' into omgAaron Patterson2011-03-071-0/+15
|\ \ | |/ |/| | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-291-0/+15
| |
* | Lock should be a unary nodeAaron Patterson2011-02-212-10/+1
| |
* | Merge remote branch 'jstorimer/master' into omgAaron Patterson2011-02-211-0/+4
|\ \ | | | | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used
| * | Allow database specific locking clauses to be usedJesse Storimer2011-01-201-0/+4
| | |
* | | Fix #not to stop wrapping in a grouping nodeErnie Miller2011-02-111-1/+1
| | |
* | | Merge branch 'named-function-predicates'Aaron Patterson2011-02-021-0/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | * named-function-predicates: Test for NamedFunction predication chaining Chain predications off of named functions
| * | Chain predications off of named functionsDaniel Azuma2011-01-191-0/+2
| |/
* | Added support for INTERSECT and EXCEPTBrian Cardarella2011-01-221-0/+2
| |
* | WTF, tabs?Paul Sadauskas2011-01-211-6/+6
| |
* | With node takes an array, less code to determine alternative nodesPaul Sadauskas2011-01-211-8/+1
| |
* | Don't need with_recursivePaul Sadauskas2011-01-211-2/+1
| |
* | Add support for WITH and UNIONPaul Sadauskas2011-01-213-6/+27
|/ | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node
* Added Arel::Nodes::NamedFunction for representing generic SQL functionsAaron Patterson2011-01-043-4/+14
|
* limit and top files are not neededAaron Patterson2011-01-032-13/+0
|
* Merge branch '2-0-stable' into mergeAaron Patterson2011-01-034-3/+19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-033-1/+15
| | | | | | | | Abley (https://github.com/jabley/arel).
* | requiring that the primary key be set on the UpdateManager so that databases ↵Aaron Patterson2010-12-241-2/+4
| | | | | | | | which do not support UPDATE with LIMIT will work
* | fixing typo, thanks @devwoutAaron Patterson2010-12-211-1/+1
| |
* | removing commented out codeAaron Patterson2010-12-141-7/+0
| |
* | cleaning up more nodesAaron Patterson2010-12-147-38/+24
| |
* | cleaning up more nodesAaron Patterson2010-12-147-37/+12
| |
* | cleaning up more nodesAaron Patterson2010-12-145-31/+9
| |
* | removing more nodes!Aaron Patterson2010-12-147-31/+16
| |
* | remove some nodesAaron Patterson2010-12-145-30/+0
| |
* | adding factory methods to node base classAaron Patterson2010-12-142-1/+2
| |
* | string join should be a unary opAaron Patterson2010-12-141-0/+3
| |
* | removing test code. :-(Aaron Patterson2010-12-141-4/+0
| |
* | fixing create_string_join factory methodAaron Patterson2010-12-142-0/+5
| |
* | adding a join source nodeAaron Patterson2010-12-144-18/+41
| |
* | AND nodes are now n-aryAaron Patterson2010-12-092-1/+18
| |
* | converting froms to fromAaron Patterson2010-12-071-3/+6
| |
* | adding a join factory method on the select managerAaron Patterson2010-12-071-2/+2
| |
* | Merge branch '2-0-stable'Aaron Patterson2010-12-061-1/+1
|\| | | | | | | | | * 2-0-stable: adding a test for the dot visitor
| * adding a test for the dot visitorAaron Patterson2010-12-061-1/+1
| |
* | attributes do not need a column memberAaron Patterson2010-12-031-0/+4
| |
* | we actually want enumerable in NodeAaron Patterson2010-12-011-0/+2
|/
* rails 3.0.x will not let us have nice thingsAaron Patterson2010-12-011-2/+0
|
* base class works with visitorAaron Patterson2010-11-291-0/+2
|
* adding ancestor testAaron Patterson2010-11-293-3/+3
|