Class: SQLParser::Statement::ComparisonPredicate

Inherits:
Node
  • Object
show all
Defined in:
lib/rossoc/statement.rb

Direct Known Subclasses

Equals, Greater, GreaterOrEquals, In, Is, Less, LessOrEquals, Like

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(left, right) ⇒ ComparisonPredicate



218
219
220
221
# File 'lib/rossoc/statement.rb', line 218

def initialize(left, right)
  @left = left
  @right = right
end

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



223
224
225
# File 'lib/rossoc/statement.rb', line 223

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



223
224
225
# File 'lib/rossoc/statement.rb', line 223

def right
  @right
end