Class: SQLParser::Statement::SearchCondition

Inherits:
Node
  • Object
show all
Defined in:
lib/sql-parser/statement.rb

Direct Known Subclasses

And, Or

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(left, right) ⇒ SearchCondition

Returns a new instance of SearchCondition.



191
192
193
194
# File 'lib/sql-parser/statement.rb', line 191

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

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



196
197
198
# File 'lib/sql-parser/statement.rb', line 196

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



197
198
199
# File 'lib/sql-parser/statement.rb', line 197

def right
  @right
end