Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump minitest to 5.1. | Vipul A M | 2014-01-04 | 7 | -7/+7 |
| | |||||
* | Add :encode_with for proper YAML serialization | Ivan Antropov | 2013-11-09 | 1 | -0/+8 |
| | |||||
* | Add equality to ALL THE THINGS (that matter) | Ernie Miller | 2012-08-18 | 26 | -2/+514 |
| | | | | | | | | | | | | People are often trying to use ARel nodes inside ActiveRecord, and when they do so, lots of things can break, because ActiveRecord relies on Array#uniq and sometimes hash key equality to handle values that end up in wheres, havings, etc. By implementing equality for all the nodes, we should hopefully be able to prevent any nodes (even nodes containing other nodes) from failing an equality check they should otherwise pass, and alleviate many of these errors. Fixes #130 | ||||
* | Add Nodes::TableAlias#engine | Jon Leighton | 2012-07-13 | 1 | -0/+16 |
| | | | | | Eventually #engine should go away, but until that time, this means that Table and Nodes::TableAlias can be used more interchangeably. | ||||
* | Include Predications in Grouping | Ernie Miller | 2012-05-19 | 1 | -0/+13 |
| | | | | | | Also, removed unused ordering.rb file, since it is identical to the one being created in unary.rb already, and isn't required anywhere. | ||||
* | Must support aliases for OVER operator. | Alexander Staubo | 2012-02-23 | 1 | -0/+9 |
| | |||||
* | Add #extract, which produces ANSI SQL function EXTRACT(<field> from <expr>). | Alexander Staubo | 2012-02-23 | 1 | -0/+19 |
| | |||||
* | Support ANSI SQL2003 window functions. | Alexander Staubo | 2012-02-22 | 1 | -0/+40 |
| | |||||
* | bind parameters can be differentiated from sql literals | Aaron Patterson | 2012-02-20 | 1 | -0/+1 |
| | |||||
* | Make it the responsibility of the connection to hold on to a visitor for ↵ | Jon Leighton | 2011-08-08 | 3 | -13/+12 |
| | | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.) | ||||
* | Break Ordering into Ascending/Descending nodes, allow reversal | Ernie Miller | 2011-06-15 | 3 | -2/+70 |
| | |||||
* | Include Arel::Predicates to Arel::Nodes::Function so you can do ↵ | Samuel Kadolph | 2011-05-27 | 1 | -0/+9 |
| | | | | table[:id].count.eq(2) | ||||
* | InfixOperations are valid value expressions per SQL99 BNF, and | Ernie Miller | 2011-05-02 | 1 | -0/+30 |
| | | | | should support ordering | ||||
* | Move #as to AliasPredication, stop overriding Function's #as. | Ernie Miller | 2011-04-29 | 1 | -0/+17 |
| | |||||
* | adding a DISTINCT node | Aaron Patterson | 2011-04-21 | 1 | -14/+23 |
| | |||||
* | adding a Bin node to emit mysql BINARY keywords | Aaron Patterson | 2011-04-11 | 1 | -0/+23 |
| | |||||
* | Make as factory method convert alias name to SqlLiteral | Ernie Miller | 2011-03-12 | 1 | -0/+6 |
| | |||||
* | Fix #not to stop wrapping in a grouping node | Ernie Miller | 2011-02-11 | 1 | -7/+4 |
| | |||||
* | Added Arel::Nodes::NamedFunction for representing generic SQL functions | Aaron Patterson | 2011-01-04 | 2 | -0/+14 |
| | |||||
* | adding factory methods to node base class | Aaron Patterson | 2010-12-14 | 1 | -0/+4 |
| | |||||
* | adding node test | Aaron Patterson | 2010-11-30 | 1 | -0/+33 |
| | |||||
* | fixing warnings | Aaron Patterson | 2010-11-29 | 1 | -1/+1 |
| | |||||
* | adding an AS node | Aaron Patterson | 2010-11-23 | 1 | -0/+16 |
| | |||||
* | adding a "not" factory method for creating Not nodes | Aaron Patterson | 2010-11-23 | 1 | -0/+20 |
| | |||||
* | Refactor predication methods to be available to SqlLiterals as well. | Ernie Miller | 2010-10-27 | 1 | -0/+24 |
| | |||||
* | renaming test_helper to helper so that it is not double required | Aaron Patterson | 2010-10-18 | 10 | -10/+10 |
| | |||||
* | got rid of retarded check method. down with rspec | Ryan Davis | 2010-10-18 | 2 | -12/+12 |
| | |||||
* | Renamed spec_helper to test_helper | Ryan Davis | 2010-10-18 | 10 | -10/+10 |
| | |||||
* | Fisting arel specs -- still needs tree_manager and cleanup | Ryan Davis | 2010-10-18 | 10 | -0/+239 |