aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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-073-1/+8
|\ | | | | | | | | * '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-043-1/+8
| | | | | | | | 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).
* | cleaning up math operations on attributesAaron Patterson2011-03-072-9/+4
| |
* | Merge remote branch 'stiff/master' into omgAaron Patterson2011-03-076-3/+61
|\ \ | |/ |/| | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-296-3/+61
| |
* | assinging nil to an offset will remove the offset from the ASTAaron Patterson2011-02-251-1/+10
| |
* | Adding SelectManager#limit= and removing limit nodes when nil is assigned to ↵Aaron Patterson2011-02-251-2/+8
| | | | | | | | limit
* | refactoring custom lock logic to use sql literalsAaron Patterson2011-02-213-13/+11
| |
* | Lock should be a unary nodeAaron Patterson2011-02-215-15/+5
| |
* | Merge remote branch 'jstorimer/master' into omgAaron Patterson2011-02-214-3/+15
|\ \ | | | | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used
| * | Allow database specific locking clauses to be usedJesse Storimer2011-01-204-3/+15
| | |
* | | Fix #not to stop wrapping in a grouping nodeErnie Miller2011-02-111-1/+1
| | |
* | | Fix modification of input on *_any/*_all predicationsErnie Miller2011-02-081-0/+2
| | |
* | | use the cache mechanism in the connection pool rather than our own cacheAaron Patterson2011-02-071-28/+3
| | |
* | | 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
| |/ /
* | | adding TOP to sub selects for mssqlAaron Patterson2011-02-022-9/+19
| | |
* | | Make #with chainablePaul Sadauskas2011-02-021-0/+2
| |/ |/|
* | Added MINUS for OracleBrian Cardarella2011-01-232-0/+5
| | | | | | | | Aliased :minus to :except for the SelectManager
* | no need for is_a? checkAaron Patterson2011-01-221-1/+1
| |
* | other should not be optionalAaron Patterson2011-01-221-6/+4
| |
* | Added support for INTERSECT and EXCEPTBrian Cardarella2011-01-223-0/+20
| |
* | WTF, tabs?Paul Sadauskas2011-01-213-39/+39
| |
* | WITH expr as array in visitorPaul Sadauskas2011-01-212-4/+3
| |
* | With node takes an array, less code to determine alternative nodesPaul Sadauskas2011-01-212-18/+3
| |
* | Don't need with_recursivePaul Sadauskas2011-01-212-3/+1
| |
* | Add support for WITH and UNIONPaul Sadauskas2011-01-216-6/+75
|/ | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node
* Added Arel::Nodes::NamedFunction for representing generic SQL functionsAaron Patterson2011-01-047-11/+47
|
* 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-032-2/+2
|\| | | | | | | | | * 2-0-stable: making sure limit is correctly copied to update manager
| * making sure limit is correctly copied to update managerAaron Patterson2011-01-032-2/+2
| |
* | Merge branch 'master' of github.com:rails/arelAaron Patterson2011-01-031-8/+12
|\ \ | | | | | | | | | | | | * 'master' of github.com:rails/arel: Allow HAVING to take multiple conditions, like WHERE
| * | Allow HAVING to take multiple conditions, like WHEREJon Leighton2011-01-041-8/+12
| | |
* | | 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
| |
* | limit and top files are not neededAaron Patterson2011-01-032-13/+0
| |
* | Merge branch '2-0-stable' into mergeAaron Patterson2011-01-0310-9/+60
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0310-7/+54
| | | | | | | | Abley (https://github.com/jabley/arel).
| * consolidating dot visitor methodsAaron Patterson2010-12-071-12/+0
| |