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.



421
422
423
424
# File 'lib/sql-parser/statement.rb', line 421

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

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column.



427
428
429
# File 'lib/sql-parser/statement.rb', line 427

def column
  @column
end

#tableObject (readonly)

Returns the value of attribute table.



426
427
428
# File 'lib/sql-parser/statement.rb', line 426

def table
  @table
end