aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/sql_literal.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add order to BindParams in the ToSql collectorSean Griffin2014-11-171-3/+0
| | | | | | | | | | | | 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.
* Add :encode_with for proper YAML serializationIvan Antropov2013-11-091-0/+4
|
* bind parameters can be differentiated from sql literalsAaron Patterson2012-02-201-0/+3
|
* Move #as to AliasPredication, stop overriding Function's #as.Ernie Miller2011-04-291-0/+1
|
* Add support for ordering on expressionsArthur Taylor2011-04-281-0/+1
| | | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb lib/arel/nodes/infix_operation.rb lib/arel/nodes/named_function.rb Conflicts: lib/arel.rb lib/arel/attributes/attribute.rb
* Refactor predication methods to be available to SqlLiterals as well.Ernie Miller2010-10-271-0/+1
|
* refactoring expressions to a moduleAaron Patterson2010-09-141-11/+1
|
* adding sum to sql literalAaron Patterson2010-09-141-0/+4
|
* Add maximum to SqlLiteral.Emilio Tagua2010-09-111-0/+4
|
* adding count nodesAaron Patterson2010-08-231-0/+3
|
* project works with stringsAaron Patterson2010-08-131-6/+1
|
* adding some deprecated classesAaron Patterson2010-08-121-0/+11