Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | push reduction visitors to a reduction base class | Aaron Patterson | 2014-04-08 | 1 | -14/+3 |
| | | | | this lets our old depth first and dot visitors to work normally | ||||
* | more select manager tests passing | Aaron Patterson | 2014-04-08 | 1 | -3/+14 |
| | |||||
* | Add Regexp and NotRegexp nodes for PostgreSQL | James Le Cuirot | 2014-04-08 | 1 | -0/+2 |
| | |||||
* | Added right and full outer joins | Stephen Prater & Fire-Dragon-DoL | 2014-03-30 | 1 | -0/+2 |
| | |||||
* | Removed all the fiels in lib/arel/visitors/ which needs dependency on 'a' ↵ | Alex Lin | 2014-03-24 | 1 | -56/+56 |
| | | | | also fixed the test case for : test/visitors/test_to_sql.rb:22 which pass in the parameter attribute e.g the parameter a. | ||||
* | Remove deprecated Arel::SqlLiteral | Rafael Mendonça França | 2014-02-10 | 1 | -1/+0 |
| | |||||
* | Make visitors threadsafe by removing @last_column | Ernie Miller | 2013-04-28 | 1 | -56/+56 |
| | | | | | | | | | | | | | | | | | | | | | | The last_column feature of the ToSql visitor and its descendants is what enabled quoting based on the column last visited -- in other words, if you have a standard condition like an equality with a string attribute on the left side and an integer on the right side, then when ARel visits the node, it'll first visit the left side attribute, setting the column of the string attribute as the last column, and resulting in the right side of the condition getting the appropriate quoting. The downside is that this means that visitors can't be shared between threads, because of the state mutation. It also makes for some really weird behavior in the event that the visitor visits a node that happens to contain an attribute you weren't expecting to be there, since it'll potentially quote something based on that attribute. So, it prevents reversing an equality condition. column = value will work, but not value = column, since the last column wouldn't be the column you're hoping for. This is a first pass at fixing this by changing the signature of the visit methods to accept the currently-relevant attribute, if any. | ||||
* | Adds visit_Arel_Nodes_InfixOperation to Arel::Visitors::DepthFirst | Benedikt Deicke | 2012-03-22 | 1 | -0/+1 |
| | |||||
* | Support ANSI SQL2003 window functions. | Alexander Staubo | 2012-02-22 | 1 | -0/+2 |
| | |||||
* | bind parameters can be differentiated from sql literals | Aaron Patterson | 2012-02-20 | 1 | -0/+1 |
| | |||||
* | fix depth first visitor to support ascending and descending nodes | Aaron Patterson | 2011-06-29 | 1 | -0/+2 |
| | |||||
* | Break Ordering into Ascending/Descending nodes, allow reversal | Ernie Miller | 2011-06-15 | 1 | -1/+1 |
| | |||||
* | Added Arel::Nodes::NamedFunction for representing generic SQL functions | Aaron Patterson | 2011-01-04 | 1 | -0/+8 |
| | |||||
* | top and limit can be visited | Aaron Patterson | 2011-01-03 | 1 | -0/+2 |
| | |||||
* | string join should be a unary op | Aaron Patterson | 2010-12-14 | 1 | -1/+4 |
| | |||||
* | select core should visit the source node | Aaron Patterson | 2010-12-14 | 1 | -1/+2 |
| | |||||
* | adding a join source node | Aaron Patterson | 2010-12-14 | 1 | -8/+2 |
| | |||||
* | testing nary nodes in the depth first visitor | Aaron Patterson | 2010-12-10 | 1 | -1/+5 |
| | |||||
* | base class works with visitor | Aaron Patterson | 2010-11-29 | 1 | -0/+1 |
| | |||||
* | refactor block.call out of each visit method | Aaron Patterson | 2010-11-29 | 1 | -14/+5 |
| | |||||
* | updating nodes and depth first visitor | Aaron Patterson | 2010-11-29 | 1 | -13/+64 |
| | |||||
* | insert statements supported | Aaron Patterson | 2010-11-29 | 1 | -0/+7 |
| | |||||
* | adding select statement support | Aaron Patterson | 2010-11-29 | 1 | -0/+9 |
| | |||||
* | adding select core | Aaron Patterson | 2010-11-29 | 1 | -0/+9 |
| | |||||
* | update statement supported | Aaron Patterson | 2010-11-29 | 1 | -0/+9 |
| | |||||
* | mostly implemented depth-first traversal | Aaron Patterson | 2010-11-29 | 1 | -0/+75 |