Class: Arel::Nodes::Over

Inherits:
Binary show all
Includes:
AliasPredication
Defined in:
lib/arel/nodes/over.rb

Instance Attribute Summary

Attributes inherited from Binary

#left, #right

Instance Method Summary (collapse)

Methods included from AliasPredication

#as

Methods inherited from Binary

#eql?, #hash, #initialize_copy

Methods inherited from Node

#_caller, #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)

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

- (Object) operator



11
# File 'lib/arel/nodes/over.rb', line 11

def operator; 'OVER' end