aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/visitors
Commit message (Collapse)AuthorAgeFilesLines
...
| * do not cache sql literal valuesAaron Patterson2011-05-171-1/+2
| |
* | Removed some old dev codeMartin Little2011-05-161-7/+0
| |
* | Added initial informix visitor supportMartin Little2011-05-161-0/+40
|/
* refactoring to a methodAaron Patterson2011-05-101-3/+11
|
* Make ToSql more thread safe.Damon McCormick + Cameron Walters2011-05-101-5/+4
| | | | | | | Because the ToSql visitor instance is shared across all threads, there is a race condition around column types for binary nodes. It's possible, for instance, to end up with ActiveRecord converting a string value in the final SQL to an integer during heavy concurrent operations.
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-04-291-0/+12
|\ | | | | | | | | | | * 'master' of github.com:rails/arel: replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db Generate more sqlish queue.
| * replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_dbShane Emmons2011-04-291-0/+12
| |
* | removing the aliased orders method from the pg visitorAaron Patterson2011-04-281-13/+0
|/
* raising not implemented exceptions for distinct on where it is not supportedAaron Patterson2011-04-211-0/+4
|
* adding Distinct ON nodeAaron Patterson2011-04-212-27/+4
|
* adding a DISTINCT nodeAaron Patterson2011-04-211-0/+5
|
* adding a Bin node to emit mysql BINARY keywordsAaron Patterson2011-04-112-0/+8
|
* use TableAlias nodes for aliasing subselectsAaron Patterson2011-03-301-1/+1
|
* allowing sql literals for values in insert statementsAaron Patterson2011-03-211-1/+5
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-03-211-13/+6
|\ | | | | | | | | | | * 'master' of github.com:rails/arel: Make as factory method convert alias name to SqlLiteral Replace MathOperation with InfixOperation to support more operators
| * Replace MathOperation with InfixOperation to support more operatorsErnie Miller2011-03-091-13/+6
| |
* | Fixes rails bug #6058.Hugo Peixoto2011-03-211-0/+1
|/ | | | Propagates 'where' clauses when subquerying is triggered on the UpdateManager.
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-03-071-1/+1
|\ | | | | | | | | * '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-1/+1
| | | | | | | | 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/+16
|\ \ | |/ |/| | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-291-0/+16
| |
* | refactoring custom lock logic to use sql literalsAaron Patterson2011-02-212-10/+2
| |
* | Lock should be a unary nodeAaron Patterson2011-02-212-4/+4
| |
* | Merge remote branch 'jstorimer/master' into omgAaron Patterson2011-02-212-2/+10
|\ \ | | | | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used
| * | Allow database specific locking clauses to be usedJesse Storimer2011-01-202-2/+10
| | |
* | | use the cache mechanism in the connection pool rather than our own cacheAaron Patterson2011-02-071-28/+3
| | |
* | | adding TOP to sub selects for mssqlAaron Patterson2011-02-022-9/+19
| |/ |/|
* | Added MINUS for OracleBrian Cardarella2011-01-231-0/+4
| | | | | | | | Aliased :minus to :except for the SelectManager
* | Added support for INTERSECT and EXCEPTBrian Cardarella2011-01-221-0/+8
| |
* | WTF, tabs?Paul Sadauskas2011-01-211-17/+17
| |
* | WITH expr as array in visitorPaul Sadauskas2011-01-211-2/+2
| |
* | Don't need with_recursivePaul Sadauskas2011-01-211-1/+0
| |
* | Add support for WITH and UNIONPaul Sadauskas2011-01-211-0/+18
|/ | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node
* Added Arel::Nodes::NamedFunction for representing generic SQL functionsAaron Patterson2011-01-043-7/+32
|
* Merge branch '2-0-stable'Aaron Patterson2011-01-041-1/+0
|\ | | | | | | | | * 2-0-stable: visiting via superclass is OK, since module definitions help delegate
| * visiting via superclass is OK, since module definitions help delegateAaron Patterson2011-01-041-1/+0
| |
* | Merge branch '2-0-stable'Aaron Patterson2011-01-032-2/+2
|\| | | | | | | | | * 2-0-stable: adding better tests surrounding limits in adapter visitors
| * adding better tests surrounding limits in adapter visitorsAaron Patterson2011-01-032-2/+2
| |
* | Merge branch '2-0-stable'Aaron Patterson2011-01-031-1/+0
|\| | | | | | | | | * 2-0-stable: should return nil instead of empty string
| * should return nil instead of empty stringAaron Patterson2011-01-031-1/+0
| |
* | Merge branch '2-0-stable'Aaron Patterson2011-01-031-3/+4
|\| | | | | | | | | * 2-0-stable: we do not need to modify the AST
| * we do not need to modify the ASTAaron Patterson2011-01-031-3/+4
| |
| * fixing tests for oracle visitorAaron Patterson2011-01-031-1/+2
| |
| * fisting lots of oracle errorsAaron Patterson2011-01-031-4/+4
| |
* | fisting lots of oracle errorsAaron Patterson2011-01-031-4/+4
| |
* | top and limit can be visitedAaron Patterson2011-01-032-0/+4
| |
* | fisting mergefailAaron Patterson2011-01-031-4/+0
| |
* | Merge branch '2-0-stable' into mergeAaron Patterson2011-01-034-4/+35
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-034-4/+31
| | | | | | | | Abley (https://github.com/jabley/arel).
| * consolidating dot visitor methodsAaron Patterson2010-12-071-12/+0
| |