Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Make SelectManager#as act like node predications | John Mileham | 2011-03-25 | 1 | -2/+2 | |
|/ | ||||||
* | supporting any node in SelectManager#from | Aaron Patterson | 2011-03-23 | 1 | -2/+6 | |
| | ||||||
* | allowing sql literals for values in insert statements | Aaron Patterson | 2011-03-21 | 1 | -1/+5 | |
| | ||||||
* | added a factory method for creating values nodes | Aaron Patterson | 2011-03-21 | 1 | -1/+5 | |
| | ||||||
* | adding create_insert method | Aaron Patterson | 2011-03-21 | 1 | -1/+5 | |
| | ||||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-03-21 | 6 | -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 SqlLiteral | Ernie Miller | 2011-03-12 | 1 | -1/+1 | |
| | | ||||||
| * | Replace MathOperation with InfixOperation to support more operators | Ernie Miller | 2011-03-09 | 5 | -31/+51 | |
| | | ||||||
* | | Fixes rails bug #6058. | Hugo Peixoto | 2011-03-21 | 1 | -0/+1 | |
|/ | | | | Propagates 'where' clauses when subquerying is triggered on the UpdateManager. | |||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-03-07 | 3 | -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 Leighton | 2011-03-04 | 3 | -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 attributes | Aaron Patterson | 2011-03-07 | 2 | -9/+4 | |
| | | ||||||
* | | Merge remote branch 'stiff/master' into omg | Aaron Patterson | 2011-03-07 | 5 | -3/+60 | |
|\ \ | |/ |/| | | | | | * stiff/master: implemented support for math operations in numeric attributes | |||||
| * | implemented support for math operations in numeric attributes | Vladimir Meremyanin | 2011-01-29 | 5 | -3/+60 | |
| | | ||||||
* | | assinging nil to an offset will remove the offset from the AST | Aaron Patterson | 2011-02-25 | 1 | -1/+10 | |
| | | ||||||
* | | Adding SelectManager#limit= and removing limit nodes when nil is assigned to ↵ | Aaron Patterson | 2011-02-25 | 1 | -2/+8 | |
| | | | | | | | | limit | |||||
* | | refactoring custom lock logic to use sql literals | Aaron Patterson | 2011-02-21 | 3 | -13/+11 | |
| | | ||||||
* | | Lock should be a unary node | Aaron Patterson | 2011-02-21 | 5 | -15/+5 | |
| | | ||||||
* | | Merge remote branch 'jstorimer/master' into omg | Aaron Patterson | 2011-02-21 | 4 | -3/+15 | |
|\ \ | | | | | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used | |||||
| * | | Allow database specific locking clauses to be used | Jesse Storimer | 2011-01-20 | 4 | -3/+15 | |
| | | | ||||||
* | | | Fix #not to stop wrapping in a grouping node | Ernie Miller | 2011-02-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix modification of input on *_any/*_all predications | Ernie Miller | 2011-02-08 | 1 | -0/+2 | |
| | | | ||||||
* | | | use the cache mechanism in the connection pool rather than our own cache | Aaron Patterson | 2011-02-07 | 1 | -28/+3 | |
| | | | ||||||
* | | | Merge branch 'named-function-predicates' | Aaron Patterson | 2011-02-02 | 1 | -0/+2 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | * named-function-predicates: Test for NamedFunction predication chaining Chain predications off of named functions | |||||
| * | | | Chain predications off of named functions | Daniel Azuma | 2011-01-19 | 1 | -0/+2 | |
| |/ / | ||||||
* | | | adding TOP to sub selects for mssql | Aaron Patterson | 2011-02-02 | 2 | -9/+19 | |
| | | | ||||||
* | | | Make #with chainable | Paul Sadauskas | 2011-02-02 | 1 | -0/+2 | |
| |/ |/| | ||||||
* | | Added MINUS for Oracle | Brian Cardarella | 2011-01-23 | 2 | -0/+5 | |
| | | | | | | | | Aliased :minus to :except for the SelectManager | |||||
* | | no need for is_a? check | Aaron Patterson | 2011-01-22 | 1 | -1/+1 | |
| | | ||||||
* | | other should not be optional | Aaron Patterson | 2011-01-22 | 1 | -6/+4 | |
| | | ||||||
* | | Added support for INTERSECT and EXCEPT | Brian Cardarella | 2011-01-22 | 3 | -0/+20 | |
| | | ||||||
* | | WTF, tabs? | Paul Sadauskas | 2011-01-21 | 3 | -39/+39 | |
| | | ||||||
* | | WITH expr as array in visitor | Paul Sadauskas | 2011-01-21 | 2 | -4/+3 | |
| | | ||||||
* | | With node takes an array, less code to determine alternative nodes | Paul Sadauskas | 2011-01-21 | 2 | -18/+3 | |
| | | ||||||
* | | Don't need with_recursive | Paul Sadauskas | 2011-01-21 | 2 | -3/+1 | |
| | | ||||||
* | | Add support for WITH and UNION | Paul Sadauskas | 2011-01-21 | 6 | -6/+75 | |
|/ | | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node | |||||
* | Added Arel::Nodes::NamedFunction for representing generic SQL functions | Aaron Patterson | 2011-01-04 | 7 | -11/+47 | |
| | ||||||
* | Merge branch '2-0-stable' | Aaron Patterson | 2011-01-04 | 1 | -1/+0 | |
|\ | | | | | | | | | * 2-0-stable: visiting via superclass is OK, since module definitions help delegate | |||||
| * | visiting via superclass is OK, since module definitions help delegate | Aaron Patterson | 2011-01-04 | 1 | -1/+0 | |
| | | ||||||
* | | Merge branch '2-0-stable' | Aaron Patterson | 2011-01-03 | 2 | -2/+2 | |
|\| | | | | | | | | | * 2-0-stable: adding better tests surrounding limits in adapter visitors | |||||
| * | adding better tests surrounding limits in adapter visitors | Aaron Patterson | 2011-01-03 | 2 | -2/+2 | |
| | | ||||||
* | | Merge branch '2-0-stable' | Aaron Patterson | 2011-01-03 | 2 | -2/+2 | |
|\| | | | | | | | | | * 2-0-stable: making sure limit is correctly copied to update manager | |||||
| * | making sure limit is correctly copied to update manager | Aaron Patterson | 2011-01-03 | 2 | -2/+2 | |
| | | ||||||
* | | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-01-03 | 1 | -8/+12 | |
|\ \ | | | | | | | | | | | | | * 'master' of github.com:rails/arel: Allow HAVING to take multiple conditions, like WHERE | |||||
| * | | Allow HAVING to take multiple conditions, like WHERE | Jon Leighton | 2011-01-04 | 1 | -8/+12 | |
| | | | ||||||
* | | | Merge branch '2-0-stable' | Aaron Patterson | 2011-01-03 | 1 | -1/+0 | |
|\ \ \ | |/ / |/| / | |/ | | | * 2-0-stable: should return nil instead of empty string | |||||
| * | should return nil instead of empty string | Aaron Patterson | 2011-01-03 | 1 | -1/+0 | |
| | | ||||||
* | | Merge branch '2-0-stable' | Aaron Patterson | 2011-01-03 | 1 | -3/+4 | |
|\| | | | | | | | | | * 2-0-stable: we do not need to modify the AST | |||||
| * | we do not need to modify the AST | Aaron Patterson | 2011-01-03 | 1 | -3/+4 | |
| | | ||||||
| * | fixing tests for oracle visitor | Aaron Patterson | 2011-01-03 | 1 | -1/+2 | |
| | |