Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Inject the visitor rather than relying on other objects internals | Sean Griffin | 2015-12-17 | 1 | -1/+1 |
| | | | | | | This is ultimately messy no matter what, and increases the coupling to the database backend, but we can at least contain it somewhat into an object that's already coupled. | ||||
* | Dont need to quote limit | Arthur Neves | 2015-06-18 | 1 | -3/+3 |
| | |||||
* | Change the interface of `having` to match that of `where` | Sean Griffin | 2015-01-27 | 1 | -2/+2 |
| | | | | | | These two clauses have nearly identical semantics with regards to how they would be constructed as an AST. It doesn't make sense for their interfaces to be separate. | ||||
* | Remove `engine` from `TreeManager` and subclasses | Sean Griffin | 2014-11-29 | 1 | -4/+4 |
| | | | | | | This constructor parameter was unused for everything except the convenience methods `to_sql` and `where_sql`. We can pass the engine into those methods directly. | ||||
* | Add SelectManager#distinct_on to set/unset Arel::Nodes::DistinctOn quantifier | Max Holder | 2014-08-30 | 1 | -0/+9 |
| | |||||
* | Arel doesn't depend on activesupport and doesn't have "String#blank?" | Vipul A M | 2014-06-01 | 1 | -1/+1 |
| | | | | Remove usage of `.blank?` to match empty strings with a regular expression instead. | ||||
* | Merge pull request #272 from jduff/rebased_outer_join | Rafael Mendonça França | 2014-05-19 | 1 | -0/+4 |
|\ | | | | | Add convenience #outer_join | ||||
| * | convenience method for outer_join | Brian Hahn | 2014-05-18 | 1 | -0/+4 |
| | | |||||
* | | Merge pull request #267 from jordansexton/patch-1 | Rafael Mendonça França | 2014-05-19 | 1 | -0/+1 |
|\ \ | |/ |/| | Return self from distinct so it's chainable | ||||
| * | Return self from #distinct so it's chainable | Jordan Sexton | 2014-05-17 | 1 | -0/+1 |
| | | |||||
* | | Remove old FIXME comment | Arthur Neves | 2014-05-07 | 1 | -3/+0 |
|/ | | | | The comment was introducted on https://github.com/rails/arel/commit/d8de55cee197d887b478b134ec692776613bf998 , and the code has changed | ||||
* | Merge branch 'master' into collector | Aaron Patterson | 2014-04-08 | 1 | -7/+0 |
|\ | | | | | | | | | * master: removing unused join_sql method | ||||
| * | removing unused join_sql method | Aaron Patterson | 2014-04-08 | 1 | -7/+0 |
| | | |||||
* | | making some of the sql manager tests pass | Aaron Patterson | 2014-04-08 | 1 | -1/+3 |
|/ | |||||
* | remove order_clauses since we do not use it | Aaron Patterson | 2014-04-08 | 1 | -7/+0 |
| | |||||
* | take in to account quoted and translated values | Aaron Patterson | 2014-03-25 | 1 | -1/+1 |
| | |||||
* | build quoted strings | Aaron Patterson | 2014-03-24 | 1 | -2/+2 |
| | |||||
* | Remove deprecated Arel::SqlLiteral | Rafael Mendonça França | 2014-02-10 | 1 | -1/+1 |
| | |||||
* | Remove deprecated `SelectManager#joins` | Vipul A M | 2014-02-10 | 1 | -8/+0 |
| | |||||
* | Remove deprecated `SelectManager#to_a` | Vipul A M | 2014-02-10 | 1 | -6/+0 |
| | |||||
* | Extract comparison array to a constant for the time being until removing the ↵ | Vipul A M | 2014-01-07 | 1 | -2/+4 |
| | | | | check completely. | ||||
* | Remove deprecated calls to `SelectManager#wheres` with no replacement | Vipul A M | 2013-11-10 | 1 | -5/+0 |
| | |||||
* | Remove deprecated calls to `SelectManage#insert` with preference to using ↵ | Vipul A M | 2013-11-10 | 1 | -25/+0 |
| | | | | `compile_insert` | ||||
* | Remove deprecated calls to using `where_clauses` | Vipul A M | 2013-11-10 | 1 | -8/+0 |
| | |||||
* | ARel -> Arel | Xavier Noria | 2013-04-14 | 1 | -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 method | Suraj N. Kurapati | 2012-09-21 | 1 | -0/+4 |
| | |||||
* | Support ANSI SQL2003 window functions. | Alexander Staubo | 2012-02-22 | 1 | -0/+6 |
| | |||||
* | bumping to 3.0.0 | Aaron Patterson | 2012-01-12 | 1 | -4/+4 |
| | |||||
* | calling cache methods against the connection | Aaron Patterson | 2011-11-19 | 1 | -4/+4 |
| | |||||
* | Add SelectManager#distinct to set/unset the Arel::Nodes::Distinct.new quantifier | Jon Leighton | 2011-11-04 | 1 | -0/+8 |
| | |||||
* | Proposed fix for issue 79 - https://github.com/rails/arel/issues/79 - Pass ↵ | jsanders | 2011-08-29 | 1 | -1/+1 |
| | | | | the connection_pool to the ToSql initializer, rather than the engine itself. | ||||
* | Add SelectManager#source method to get the source of the ctx | Jon Leighton | 2011-08-11 | 1 | -0/+4 |
| | |||||
* | Add SelectManager#projections= method to overwrite projections | Jon Leighton | 2011-08-11 | 1 | -0/+4 |
| | |||||
* | Make it the responsibility of the connection to hold on to a visitor for ↵ | Jon Leighton | 2011-08-08 | 1 | -4/+5 |
| | | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.) | ||||
* | Fixed deep copy bug in SelectManager clone | Arthur Taylor | 2011-04-19 | 1 | -0/+5 |
| | |||||
* | deprecating SelectManager#wheres method | Aaron Patterson | 2011-04-11 | 1 | -0/+1 |
| | |||||
* | use TableAlias nodes for aliasing subselects | Aaron Patterson | 2011-03-30 | 1 | -1/+1 |
| | |||||
* | Make SelectManager#as act like node predications | John Mileham | 2011-03-25 | 1 | -2/+2 |
| | |||||
* | supporting any node in SelectManager#from | Aaron Patterson | 2011-03-23 | 1 | -2/+6 |
| | |||||
* | assinging nil to an offset will remove the offset from the AST | Aaron Patterson | 2011-02-25 | 1 | -1/+10 |
| | |||||
* | Adding SelectManager#limit= and removing limit nodes when nil is assigned to ↵ | Aaron Patterson | 2011-02-25 | 1 | -2/+8 |
| | | | | limit | ||||
* | refactoring custom lock logic to use sql literals | Aaron Patterson | 2011-02-21 | 1 | -3/+9 |
| | |||||
* | Merge remote branch 'jstorimer/master' into omg | Aaron Patterson | 2011-02-21 | 1 | -1/+1 |
|\ | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used | ||||
| * | Allow database specific locking clauses to be used | Jesse Storimer | 2011-01-20 | 1 | -1/+1 |
| | | |||||
* | | Make #with chainable | Paul Sadauskas | 2011-02-02 | 1 | -0/+2 |
| | | |||||
* | | Added MINUS for Oracle | Brian Cardarella | 2011-01-23 | 1 | -0/+1 |
| | | | | | | | | Aliased :minus to :except for the SelectManager | ||||
* | | no need for is_a? check | Aaron Patterson | 2011-01-22 | 1 | -1/+1 |
| | | |||||
* | | other should not be optional | Aaron Patterson | 2011-01-22 | 1 | -6/+4 |
| | | |||||
* | | Added support for INTERSECT and EXCEPT | Brian Cardarella | 2011-01-22 | 1 | -0/+10 |
| | | |||||
* | | WTF, tabs? | Paul Sadauskas | 2011-01-21 | 1 | -16/+16 |
| | |