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.



361
362
363
364
# File 'lib/sql-parser/statement.rb', line 361

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

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column.



367
368
369
# File 'lib/sql-parser/statement.rb', line 367

def column
  @column
end

#tableObject (readonly)

Returns the value of attribute table.



366
367
368
# File 'lib/sql-parser/statement.rb', line 366

def table
  @table
end