Class: SQL::Statement::QualifiedColumn

Inherits:
Node
  • Object
show all
Defined in:
lib/sql/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.


313
314
315
316
# File 'lib/sql/statement.rb', line 313

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

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column


319
320
321
# File 'lib/sql/statement.rb', line 319

def column
  @column
end

#tableObject (readonly)

Returns the value of attribute table


318
319
320
# File 'lib/sql/statement.rb', line 318

def table
  @table
end