aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add order to BindParams in the ToSql collectorSean Griffin2014-11-171-0/+1
| | | | | | | | | | | | This removes the need for us to do the re-ordering by walking the AST in ActiveRecord. We're using a block to communicate with the collector, since the collector needs to be the thing which knows about the index, while the visitor is the thing that needs to know the syntax. The BindParam needs to know about neither of these things, so it's been changed to stop being a subclass of SqlLiteral I could also see an alternative implementation using format strings if for some reason blocks cause a problem.
* {Matches,DoesNotMatch} support the ESCAPE clauseTamir Duberstein2014-09-251-0/+1
|
* No need to check for SelectStatement as it's a descendant of NodeJiri Pospisil2014-06-121-1/+1
|
* Make sure Arel::SelectManager is not mistaken for an attributeJiri Pospisil2014-06-121-1/+1
|
* Added right and full outer joinsStephen Prater & Fire-Dragon-DoL2014-03-301-0/+2
|
* build quoted nodes in factory methodsAaron Patterson2014-03-241-1/+8
|
* add the casting node to the AST at build timeAaron Patterson2014-03-241-0/+32
| | | | | If we add the casting node to the ast at build time, then we can avoid doing the lookup at visit time.
* Include Predications in GroupingErnie Miller2012-05-191-0/+1
| | | | | | Also, removed unused ordering.rb file, since it is identical to the one being created in unary.rb already, and isn't required anywhere.
* Add #extract, which produces ANSI SQL function EXTRACT(<field> from <expr>).Alexander Staubo2012-02-231-0/+1
|
* Support ANSI SQL2003 window functions.Alexander Staubo2012-02-221-0/+4
|
* Add nodes for boolean constantsDaniel Cadenas2011-08-031-0/+2
| | | | | | | | | | | | This is useful for dynamically created predicates e.g: expr1 = table.create_false expr2 = table.create_false expr1 = create_a_predicate() if some_condition expr2 = create_another_predicate() if some_other_condition table.where(expr1.and(expr2))
* Break Ordering into Ascending/Descending nodes, allow reversalErnie Miller2011-06-151-1/+2
|
* adding Distinct ON nodeAaron Patterson2011-04-211-0/+4
|
* Replace MathOperation with InfixOperation to support more operatorsErnie Miller2011-03-091-1/+1
|
* Merge remote branch 'stiff/master' into omgAaron Patterson2011-03-071-0/+1
|\ | | | | | | | | * stiff/master: implemented support for math operations in numeric attributes
| * implemented support for math operations in numeric attributesVladimir Meremyanin2011-01-291-0/+1
| |
* | Lock should be a unary nodeAaron Patterson2011-02-211-1/+0
|/
* Add support for WITH and UNIONPaul Sadauskas2011-01-211-0/+1
| | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node
* Added Arel::Nodes::NamedFunction for representing generic SQL functionsAaron Patterson2011-01-041-0/+1
|
* cleaning up more nodesAaron Patterson2010-12-141-18/+22
|
* cleaning up more nodesAaron Patterson2010-12-141-7/+3
|
* cleaning up more nodesAaron Patterson2010-12-141-5/+3
|
* removing more nodes!Aaron Patterson2010-12-141-10/+1
|
* adding a join source nodeAaron Patterson2010-12-141-0/+1
|
* adding unary nodeAaron Patterson2010-11-291-0/+1
|
* adding an AS nodeAaron Patterson2010-11-231-0/+1
|
* adding a "not" factory method for creating Not nodesAaron Patterson2010-11-231-0/+1
|
* Support Attribute#asc and Attribute#desc to create orderingsErnie Miller2010-09-291-0/+1
|
* Add support for remaining *_any/*_all attribute methods, and add ↵Ernie Miller2010-09-291-0/+3
| | | | matches/does_not_match/not_in
* adding an oracle visitorAaron Patterson2010-09-241-0/+1
|
* supporting ranges for IN statementsAaron Patterson2010-09-201-0/+2
|
* adding a grouping nodeAaron Patterson2010-09-151-0/+2
|
* adding an EXISTS node, update method will generate an IN clauseAaron Patterson2010-09-141-0/+1
|
* Add Min node.Emilio Tagua2010-09-111-0/+1
|
* adding not equal node, column names are expected to be symbolsAaron Patterson2010-09-101-0/+1
|
* differentiating equality and assignmentAaron Patterson2010-09-101-0/+1
|
* added a greater than nodeAaron Patterson2010-09-101-0/+1
|
* added greater than or equal to nodeAaron Patterson2010-09-101-0/+1
|
* adding an offset nodeAaron Patterson2010-09-101-0/+1
|
* adding a Value node so that SqlLiteral values may be usedAaron Patterson2010-09-091-0/+1
|
* adding locking node to the ASTAaron Patterson2010-09-081-0/+1
|
* average node is addedAaron Patterson2010-09-081-0/+2
|
* adding having nodesAaron Patterson2010-09-081-0/+1
|
* adding maximum nodesAaron Patterson2010-09-081-0/+1
|
* adding a sum nodeAaron Patterson2010-09-081-0/+1
|
* group nodes are working!Aaron Patterson2010-09-071-0/+1
|
* adding string join nodes and a visitor to produce backwards compatible ↵Aaron Patterson2010-08-241-0/+1
| | | | "join_sql"
* AND nodes are supportedAaron Patterson2010-08-231-0/+1
|
* adding count nodesAaron Patterson2010-08-231-0/+1
|
* adding outer joinsAaron Patterson2010-08-191-0/+2
|