aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/select_manager.rb
Commit message (Collapse)AuthorAgeFilesLines
* Arel doesn't depend on activesupport and doesn't have "String#blank?"Vipul A M2014-06-011-1/+1
| | | | Remove usage of `.blank?` to match empty strings with a regular expression instead.
* Merge pull request #272 from jduff/rebased_outer_joinRafael Mendonça França2014-05-191-0/+4
|\ | | | | Add convenience #outer_join
| * convenience method for outer_joinBrian Hahn2014-05-181-0/+4
| |
* | Merge pull request #267 from jordansexton/patch-1Rafael Mendonça França2014-05-191-0/+1
|\ \ | |/ |/| Return self from distinct so it's chainable
| * Return self from #distinct so it's chainableJordan Sexton2014-05-171-0/+1
| |
* | Remove old FIXME commentArthur Neves2014-05-071-3/+0
|/ | | | The comment was introducted on https://github.com/rails/arel/commit/d8de55cee197d887b478b134ec692776613bf998 , and the code has changed
* Merge branch 'master' into collectorAaron Patterson2014-04-081-7/+0
|\ | | | | | | | | * master: removing unused join_sql method
| * removing unused join_sql methodAaron Patterson2014-04-081-7/+0
| |
* | making some of the sql manager tests passAaron Patterson2014-04-081-1/+3
|/
* remove order_clauses since we do not use itAaron Patterson2014-04-081-7/+0
|
* take in to account quoted and translated valuesAaron Patterson2014-03-251-1/+1
|
* build quoted stringsAaron Patterson2014-03-241-2/+2
|
* Remove deprecated Arel::SqlLiteralRafael Mendonça França2014-02-101-1/+1
|
* Remove deprecated `SelectManager#joins`Vipul A M2014-02-101-8/+0
|
* Remove deprecated `SelectManager#to_a`Vipul A M2014-02-101-6/+0
|
* Extract comparison array to a constant for the time being until removing the ↵Vipul A M2014-01-071-2/+4
| | | | check completely.
* Remove deprecated calls to `SelectManager#wheres` with no replacementVipul A M2013-11-101-5/+0
|
* Remove deprecated calls to `SelectManage#insert` with preference to using ↵Vipul A M2013-11-101-25/+0
| | | | `compile_insert`
* Remove deprecated calls to using `where_clauses`Vipul A M2013-11-101-8/+0
|
* ARel -> ArelXavier Noria2013-04-141-2/+2
| | | | | | | The project uses "Arel" most of the time, but there were a few "ARel" here and there. I checked with @brynary back in 2010 to pick one for the Rails documentation guidelines and "Arel" was chosen and documented. This patch chooses "Arel" vs "ARel" based on that.
* GH-138: add Arel::SelectManager#projections methodSuraj N. Kurapati2012-09-211-0/+4
|
* 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