aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/select_manager.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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-211-3/+9
|
* Merge remote branch 'jstorimer/master' into omgAaron Patterson2011-02-211-1/+1
|\ | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used
| * Allow database specific locking clauses to be usedJesse Storimer2011-01-201-1/+1
| |
* | Make #with chainablePaul Sadauskas2011-02-021-0/+2
| |
* | Added MINUS for OracleBrian Cardarella2011-01-231-0/+1
| | | | | | | | 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-221-0/+10
| |
* | WTF, tabs?Paul Sadauskas2011-01-211-16/+16
| |
* | WITH expr as array in visitorPaul Sadauskas2011-01-211-2/+1
| |
* | With node takes an array, less code to determine alternative nodesPaul Sadauskas2011-01-211-10/+2
| |
* | Add support for WITH and UNIONPaul Sadauskas2011-01-211-0/+29
|/ | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node
* Allow HAVING to take multiple conditions, like WHEREJon Leighton2011-01-041-8/+12
|
* Merge branch '2-0-stable' into mergeAaron Patterson2011-01-031-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-031-2/+3
| | | | | | | | Abley (https://github.com/jabley/arel).
| * refactoring where, fixing subselectAaron Patterson2010-12-071-5/+0
| |
* | adding deprecation warning for where_clausesAaron Patterson2010-12-261-1/+3
| |
* | testing binary ops in the dot visitorAaron Patterson2010-12-251-1/+2
| |
* | adding join_sources so we can access the join sources of the select coreAaron Patterson2010-12-141-0/+4
| |
* | adding a join source nodeAaron Patterson2010-12-141-10/+9
| |
* | deprecating SelectManager#insertAaron Patterson2010-12-131-3/+12
| |
* | testing nary nodes in the depth first visitorAaron Patterson2010-12-101-1/+1
| |
* | refactor SelectManager to use the create_join factory methodAaron Patterson2010-12-091-3/+3
| |
* | adding a factory method for and nodesAaron Patterson2010-12-091-1/+1
| |
* | AND nodes are now n-aryAaron Patterson2010-12-091-8/+6
| |
* | get from values out of the select managerAaron Patterson2010-12-071-0/+4
| |
* | renaming froms to fromAaron Patterson2010-12-071-3/+3
| |
* | refactoring where, fixing subselectAaron Patterson2010-12-071-5/+0
| |
* | only break backwards compatibility in major releasesAaron Patterson2010-12-031-1/+1
| |
* | attributes do not need a column memberAaron Patterson2010-12-031-2/+2
|/
* deprecating the "joins" methodAaron Patterson2010-11-301-0/+4
|
* arel more nicely supports EXISTS queriesAaron Patterson2010-11-051-0/+6
|
* renaming @head to @astAaron Patterson2010-11-051-10/+10
|
* symbols work as sql literalsAaron Patterson2010-10-151-1/+1
|
* implementing where_sql methodAaron Patterson2010-10-121-0/+7
|
* refactoring join_sql to return nil if there are no sourcesAaron Patterson2010-09-281-0/+2
|
* pass primary key name and value to ActiveRecord adapter insert methodRaimonds Simanovskis2010-09-281-2/+10
| | | | necessary for Oracle adapter for RETURNING ... INTO ... clause generation
* moving visitors aroundAaron Patterson2010-09-231-2/+3
|
* from does not need to be a listAaron Patterson2010-09-201-7/+7
|
* adding crazy code to fix the last two AR testsAaron Patterson2010-09-201-3/+33
|
* if FROM is a string, convert to string literalAaron Patterson2010-09-181-0/+1
|
* right side set to sqlliteral if it is a stringAaron Patterson2010-09-151-1/+5
|
* totally lame, but arel expects FROM to only be one itemAaron Patterson2010-09-121-5/+1
|
* order accepts symbols for clausesAaron Patterson2010-09-121-1/+1
|
* supporting symbols for group statementsAaron Patterson2010-09-121-0/+1
|
* adding some backwards compatibilityAaron Patterson2010-09-121-0/+4
|
* implementing lockedAaron Patterson2010-09-101-0/+4
|
* adding some backwards compatibility for ARAaron Patterson2010-09-101-0/+2
|