Class: Arel::Nodes::Over
- Includes:
- AliasPredication
- Defined in:
- lib/arel/nodes/over.rb
Instance Attribute Summary
Attributes inherited from Binary
Instance Method Summary collapse
-
#initialize(left, right = nil) ⇒ Over
constructor
A new instance of Over.
- #operator ⇒ Object
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
#initialize(left, right = nil) ⇒ Over
Returns 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
#operator ⇒ Object
11 |
# File 'lib/arel/nodes/over.rb', line 11 def operator; 'OVER' end |