aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
Commit message (Collapse)AuthorAgeFilesLines
...
* | Make SelectManager#as act like node predicationsJohn Mileham2011-03-251-2/+2
|/
* supporting any node in SelectManager#fromAaron Patterson2011-03-231-2/+6
|
* allowing sql literals for values in insert statementsAaron Patterson2011-03-211-1/+5
|
* added a factory method for creating values nodesAaron Patterson2011-03-211-1/+5
|
* adding create_insert methodAaron Patterson2011-03-211-1/+5
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-03-216-32/+52
|\ | | | | | | | | | | * 'master' of github.com:rails/arel: Make as factory method convert alias name to SqlLiteral Replace MathOperation with InfixOperation to support more operators
| * Make as factory method convert alias name to SqlLiteralErnie Miller2011-03-121-1/+1
| |
| * Replace MathOperation with InfixOperation to support more operatorsErnie Miller2011-03-095-31/+51
| |
* | 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-075-3/+60
|\ \ | |/ |/| | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-295-3/+60
| |
* | 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
| |