Class: Sequel::SQL::QualifiedIdentifier

Class | Sequel::SQL::QualifiedIdentifier
In: | lib/sequel_core/sql.rb
Parent: | GenericExpression

Represents a qualified (column with table) reference. Used when joining tables to disambiguate columns.

### Methods

new to_s

### Attributes

column | [R] | The table and column to reference
table | [R] | The table and column to reference

### Public Class methods

new(table, column)

Set the attributes to the given arguments

[Source]

         # File lib/sequel_core/sql.rb, line 745
    745:       def initialize(table, column)
    746:         @table, @column = table, column
    747:       end

### Public Instance methods

to_s(ds)

Delegate the creation of the resulting SQL to the given dataset, since it may be database dependent.

[Source]

         # File lib/sequel_core/sql.rb, line 751
    751:       def to_s(ds)
    752:         ds.qualified_identifier_sql(self)
    753:       end

[Validate]