aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/select_manager.rb
Commit message (Collapse)AuthorAgeFilesLines
* Support ANSI SQL2003 window functions.Alexander Staubo2012-02-221-0/+6
|
* bumping to 3.0.0Aaron Patterson2012-01-121-4/+4
|
* calling cache methods against the connectionAaron Patterson2011-11-191-4/+4
|
* Add SelectManager#distinct to set/unset the Arel::Nodes::Distinct.new quantifierJon Leighton2011-11-041-0/+8
|
* Proposed fix for issue 79 - https://github.com/rails/arel/issues/79 - Pass ↵jsanders2011-08-291-1/+1
| | | | the connection_pool to the ToSql initializer, rather than the engine itself.
* Add SelectManager#source method to get the source of the ctxJon Leighton2011-08-111-0/+4
|
* Add SelectManager#projections= method to overwrite projectionsJon Leighton2011-08-111-0/+4
|
* Make it the responsibility of the connection to hold on to a visitor for ↵Jon Leighton2011-08-081-4/+5
| | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.)
* Fixed deep copy bug in SelectManager cloneArthur Taylor2011-04-191-0/+5
|
* deprecating SelectManager#wheres methodAaron Patterson2011-04-111-0/+1
|
* use TableAlias nodes for aliasing subselectsAaron Patterson2011-03-301-1/+1
|
* Make SelectManager#as act like node predicationsJohn Mileham2011-03-251-2/+2
|
* supporting any node in SelectManager#fromAaron Patterson2011-03-231-2/+6
|
* 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
|