aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/infix_operation.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable frozen_string_literal in all files in arelRafael Mendonça França2017-02-131-0/+1
|
* * Support for bitwise operations as infix operators. Tests included.Shahbaz Javeed2016-01-061-0/+30
| | | | | | | | | | | | | | | | | | | | | | *** Individual commit messages included below *** * Preliminary support for bitwise operations as infix operators. Tests to follow. * Added bitwise xor, shift left and shift right operators * Fixed the BitwiseOr class so it uses the :| operator instead of :& * All the methods for the bitwise operators in the Arel::Math module now wrap them up in Arel::Nodes::Grouping so the operation becomes isolated like addition and subtraction * Preliminary set of tests for the new operators * Updated README with examples of bitwise operations * Added a new UnaryOperation class which is a riff on the InfixOperation class * Added tests for UnaryOperation (inspired by InfixOperation tests) * Added the bitwise not (~) operator as a UnaryOperation * Added tests for the bitwise not operator * Added documentation for the bitwise not operator * Updated gemspec using `rake arel.gemspec`
* Add database specific string concatenationKeenan Brock2016-01-051-1/+6
|
* InfixOperations are valid value expressions per SQL99 BNF, andErnie Miller2011-05-021-0/+1
| | | | should support ordering
* Move #as to AliasPredication, stop overriding Function's #as.Ernie Miller2011-04-291-0/+1
|
* Replace MathOperation with InfixOperation to support more operatorsErnie Miller2011-03-091-0/+42