Class: SQLParser::Statement::JoinedTable

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

Direct Known Subclasses

CrossJoin, QualifiedJoin

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(left, right) ⇒ JoinedTable

Returns a new instance of JoinedTable.



352
353
354
355
# File 'lib/sql-parser/statement.rb', line 352

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

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left.



357
358
359
# File 'lib/sql-parser/statement.rb', line 357

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right.



358
359
360
# File 'lib/sql-parser/statement.rb', line 358

def right
  @right
end