Class: SQLParser::Statement::QualifiedColumn

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(table, column) ⇒ QualifiedColumn

Returns a new instance of QualifiedColumn.



440
441
442
443
# File 'lib/sql-parser/statement.rb', line 440

def initialize(table, column)
  @table = table
  @column = column
end

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column.



446
447
448
# File 'lib/sql-parser/statement.rb', line 446

def column
  @column
end

#tableObject (readonly)

Returns the value of attribute table.



445
446
447
# File 'lib/sql-parser/statement.rb', line 445

def table
  @table
end