Class: Arel::Nodes::Over
- Inherits:
- Binary show all
- Includes:
- AliasPredication
- Defined in:
- lib/arel/nodes/over.rb
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary (collapse)
-
- (Over) initialize(left, right = nil)
constructor
A new instance of Over.
- - (Object) operator
Methods included from AliasPredication
Methods inherited from Binary
Methods inherited from Node
#and, #each, #not, #or, #to_sql
Methods included from FactoryMethods
#create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, #lower
Constructor Details
- (Over) initialize(left, right = nil)
A new instance of Over
7 8 9 |
# File 'lib/arel/nodes/over.rb', line 7 def initialize(left, right = nil) super(left, right) end |
Instance Method Details
- (Object) operator
11 |
# File 'lib/arel/nodes/over.rb', line 11 def operator; 'OVER' end |