aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors
Commit message (Collapse)AuthorAgeFilesLines
* Replace MathOperation with InfixOperation to support more operatorsErnie Miller2011-03-091-1/+10
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-03-071-0/+9
|\ | | | | | | | | * '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/+9
| | | | | | | | 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/+22
|\ \ | |/ |/| | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-291-0/+22
| |
* | refactoring custom lock logic to use sql literalsAaron Patterson2011-02-212-4/+4
| |
* | Lock should be a unary nodeAaron Patterson2011-02-213-3/+3
| |
* | Merge remote branch 'jstorimer/master' into omgAaron Patterson2011-02-212-9/+23
|\ \ | | | | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used
| * | Allow database specific locking clauses to be usedJesse Storimer2011-01-202-9/+23
| | |
* | | Merge branch 'named-function-predicates'Aaron Patterson2011-02-021-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | * named-function-predicates: Test for NamedFunction predication chaining Chain predications off of named functions
| * | | Test for NamedFunction predication chainingDaniel Azuma2011-01-191-0/+6
| |/ /
* | | fixing whitespace errorsAaron Patterson2011-02-021-1/+1
| | |
* | | Added test, thanks josephholstenBrian Dunn2011-02-021-0/+9
| |/ |/|
* | Added MINUS for OracleBrian Cardarella2011-01-231-0/+9
| | | | | | | | Aliased :minus to :except for the SelectManager
* | Add support for WITH and UNIONPaul Sadauskas2011-01-211-0/+1
|/ | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node
* Added Arel::Nodes::NamedFunction for representing generic SQL functionsAaron Patterson2011-01-043-1/+36
|
* Merge branch '2-0-stable'Aaron Patterson2011-01-032-4/+6
|\ | | | | | | | | * 2-0-stable: adding better tests surrounding limits in adapter visitors
| * adding better tests surrounding limits in adapter visitorsAaron Patterson2011-01-032-4/+6
| |
* | Merge branch '2-0-stable'Aaron Patterson2011-01-031-6/+6
|\| | | | | | | | | | | * 2-0-stable: fixing tests for oracle visitor fisting lots of oracle errors
| * fixing tests for oracle visitorAaron Patterson2011-01-031-6/+6
| |
* | top and limit can be visitedAaron Patterson2011-01-032-0/+4
| |
* | Merge branch '2-0-stable' into mergeAaron Patterson2011-01-032-1/+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-032-1/+19
| | | | | | | | Abley (https://github.com/jabley/arel).
| * tests for passing a subquery to #in and #not_inSven Fuchs2010-12-071-0/+18
| |
| * quoting limit nodesAaron Patterson2010-12-073-0/+20
| |
* | testing binary ops in the dot visitorAaron Patterson2010-12-251-0/+28
| |
* | sql literals may be used as column attributesAaron Patterson2010-12-221-1/+8
| |
* | string join should be a unary opAaron Patterson2010-12-142-2/+8
| |
* | select core should visit the source nodeAaron Patterson2010-12-141-0/+1
| |
* | adding a join source nodeAaron Patterson2010-12-142-10/+11
| |
* | testing nary nodes in the depth first visitorAaron Patterson2010-12-101-2/+2
| |
* | stop using deprecated AND usageAaron Patterson2010-12-092-3/+13
| |
* | Merge remote branch 'sven/in-subquery' into subqueryAaron Patterson2010-12-071-0/+18
|\ \ | | | | | | | | | | | | | | | * sven/in-subquery: implementation for passing a subquery to #in and #not_in tests for passing a subquery to #in and #not_in
| * | tests for passing a subquery to #in and #not_inSven Fuchs2010-12-071-0/+18
| | |
* | | Merge branch '2-0-stable'Aaron Patterson2010-12-063-0/+20
|\ \ \ | |/ / |/| | | | | | | | | | | * 2-0-stable: quoting limit nodes Make "not" apply to the whole sub-expression when generating sql.
| * | quoting limit nodesAaron Patterson2010-12-063-0/+20
| |/
| * Make "not" apply to the whole sub-expression when generating sql.Ryan Rempel2010-12-061-1/+7
| |
* | Make "not" apply to the whole sub-expression when generating sql.Ryan Rempel2010-12-061-1/+7
| |
* | Merge branch '2-0-stable'Aaron Patterson2010-12-061-0/+27
|\| | | | | | | | | * 2-0-stable: adding a test for the dot visitor
| * adding a test for the dot visitorAaron Patterson2010-12-061-0/+27
| |
* | attributes do not need a column memberAaron Patterson2010-12-032-4/+9
|/
* make sure we raise type errors with unknown classesAaron Patterson2010-12-011-0/+7
|
* adding deprecated support for walking ancestor treesAaron Patterson2010-11-301-0/+5
|
* base class works with visitorAaron Patterson2010-11-291-0/+6
|
* updating nodes and depth first visitorAaron Patterson2010-11-291-3/+62
|
* adding unary nodeAaron Patterson2010-11-291-0/+3
|
* insert statements supportedAaron Patterson2010-11-291-0/+10
|
* adding select statement supportAaron Patterson2010-11-291-0/+18
|
* adding select coreAaron Patterson2010-11-291-0/+18
|
* update statement supportedAaron Patterson2010-11-291-0/+13
|