aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_select_manager.rb
Commit message (Collapse)AuthorAgeFilesLines
* add the casting node to the AST at build timeAaron Patterson2014-03-241-2/+2
| | | | | If we add the casting node to the ast at build time, then we can avoid doing the lookup at visit time.
* Remove deprecated Arel::ExpressionRafael Mendonça França2014-02-101-12/+0
|
* Remove deprecated Arel::SqlLiteralRafael Mendonça França2014-02-101-10/+10
|
* add bind values to the manager classAaron Patterson2014-01-141-0/+7
|
* Merge pull request #234 from aackerman/remove-test-engine-proxyRafael Mendonça França2014-01-041-68/+8
|\ | | | | Removed EngineProxy in SelectManager tests
| * Removed EngineProxy in SelectManager testsAaron Ackerman2014-01-041-68/+8
| |
* | Assert that SelectManager#project accepts a raw StringAaron Ackerman2014-01-041-4/+2
|/
* Remove deprecated calls from the testsRafael Mendonça França2013-12-051-6/+6
|
* explicitly pass the pk to compile_updateAaron Patterson2013-11-161-6/+6
|
* Remove deprecated calls to `SelectManage#insert` with preference to using ↵Vipul A M2013-11-101-14/+0
| | | | `compile_insert`
* Remove some test warningsCarlos Antonio da Silva2012-11-171-3/+0
|
* more roflscaling strings in the visitorAaron Patterson2012-10-121-2/+2
|
* GH-138: add Arel::SelectManager#projections methodSuraj N. Kurapati2012-09-211-0/+8
|
* Support ANSI SQL2003 window functions.Alexander Staubo2012-02-221-0/+156
|
* Add SelectManager#distinct to set/unset the Arel::Nodes::Distinct.new quantifierJon Leighton2011-11-041-0/+13
|
* Removed trailing space on the test sql string statement.Joel Bryan Juliano2011-10-311-1/+0
|
* Added a failing test for a non-table alias as rhs relation nameJoel Bryan Juliano2011-10-311-0/+18
|
* Support locking by default and disable it only for SQLite.Edgars Beigarts2011-08-261-1/+1
|
* Add SelectManager#source method to get the source of the ctxJon Leighton2011-08-111-0/+8
|
* Add SelectManager#projections= method to overwrite projectionsJon Leighton2011-08-111-0/+9
|
* Make it the responsibility of the connection to hold on to a visitor for ↵Jon Leighton2011-08-081-0/+4
| | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.)
* fix depth first visitor to support ascending and descending nodesAaron Patterson2011-06-291-0/+9
|
* do not cache sql literal valuesAaron Patterson2011-05-171-1/+1
|
* Add support for ordering on expressionsArthur Taylor2011-04-281-0/+23
| | | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb lib/arel/nodes/infix_operation.rb lib/arel/nodes/named_function.rb Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb
* adding Distinct ON nodeAaron Patterson2011-04-211-1/+1
|
* adding a spec to demonstrate subqueriesAaron Patterson2011-04-181-0/+12
|
* fixing Table testsAaron Patterson2011-04-181-1/+1
|
* Fixed deep copy bug in SelectManager cloneArthur Taylor2011-04-191-0/+10
|
* use TableAlias nodes for aliasing subselectsAaron Patterson2011-03-301-1/+1
|
* Make SelectManager#as act like node predicationsJohn Mileham2011-03-251-2/+18
|
* supporting any node in SelectManager#fromAaron Patterson2011-03-231-0/+17
|
* adding create_insert methodAaron Patterson2011-03-211-0/+6
|
* Fixes rails bug #6058.Hugo Peixoto2011-03-211-0/+14
| | | | Propagates 'where' clauses when subquerying is triggered on the UpdateManager.
* assinging nil to an offset will remove the offset from the ASTAaron Patterson2011-02-251-0/+26
|
* Adding SelectManager#limit= and removing limit nodes when nil is assigned to ↵Aaron Patterson2011-02-251-0/+9
| | | | limit
* adding failing tests for rails #6384Aaron Patterson2011-02-211-0/+18
|
* use the cache mechanism in the connection pool rather than our own cacheAaron Patterson2011-02-071-0/+4
|
* Make #with chainablePaul Sadauskas2011-02-021-4/+1
|
* Added support for INTERSECT and EXCEPTBrian Cardarella2011-01-221-0/+54
|
* WTF, tabs?Paul Sadauskas2011-01-211-30/+30
|
* Add support for WITH and UNIONPaul Sadauskas2011-01-211-0/+73
| | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node
* Allow HAVING to take multiple conditions, like WHEREJon Leighton2011-01-041-1/+16
|
* requiring that the primary key be set on the UpdateManager so that databases ↵Aaron Patterson2010-12-241-0/+2
| | | | which do not support UPDATE with LIMIT will work
* adding join_sources so we can access the join sources of the select coreAaron Patterson2010-12-141-0/+6
|
* string join should be a unary opAaron Patterson2010-12-141-1/+1
|
* adding a join source nodeAaron Patterson2010-12-141-6/+4
|
* adding a factory method for and nodesAaron Patterson2010-12-091-0/+8
|
* get from values out of the select managerAaron Patterson2010-12-071-0/+5
|
* adding a join factory method on the select managerAaron Patterson2010-12-071-0/+18
|
* declawing connection from the Table classAaron Patterson2010-12-031-0/+4
|