Class: SQLParser::Statement::FromClause

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(tables) ⇒ FromClause

Returns a new instance of FromClause.



115
116
117
# File 'lib/sql-parser/statement.rb', line 115

def initialize(tables)
  @tables = Array(tables)
end

Instance Attribute Details

#tablesObject (readonly)

Returns the value of attribute tables.



119
120
121
# File 'lib/sql-parser/statement.rb', line 119

def tables
  @tables
end