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.



184
185
186
# File 'lib/sql-parser/statement.rb', line 184

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

Instance Attribute Details

#tablesObject (readonly)

Returns the value of attribute tables.



188
189
190
# File 'lib/sql-parser/statement.rb', line 188

def tables
  @tables
end