aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * refactoring where, fixing subselectAaron Patterson2010-12-076-16/+13
| |
| * implementation for passing a subquery to #in and #not_inSven Fuchs2010-12-072-10/+12
| |
| * quoting limit nodesAaron Patterson2010-12-073-3/+3
| |
* | adding deprecation warning for where_clausesAaron Patterson2010-12-262-1/+7
| |
* | testing binary ops in the dot visitorAaron Patterson2010-12-252-15/+18
| |
* | requiring that the primary key be set on the UpdateManager so that databases ↵Aaron Patterson2010-12-244-6/+23
| | | | | | | | which do not support UPDATE with LIMIT will work
* | sql literals may be used as column attributesAaron Patterson2010-12-222-22/+25
| |