Module Sequel::SQL::QualifyingMethods
In: lib/sequel/sql.rb

Includes a qualify method that created QualifiedIdentifiers, used for qualifying column names with a table or table names with a schema, and the * method for returning all columns in the identifier if no arguments are given.

Methods

*   qualify  

Public Instance methods

If no arguments are given, return an SQL::ColumnAll:

  Sequel[:a__b].*  # a.b.*

[Source]

     # File lib/sequel/sql.rb, line 940
940:       def *(ce=(arg=false;nil))
941:         if arg == false
942:           Sequel::SQL::ColumnAll.new(self)
943:         else
944:           super(ce)
945:         end
946:       end

Qualify the receiver with the given qualifier (table for column/schema for table).

  Sequel[:column].qualify(:table) # "table"."column"
  Sequel[:table].qualify(:schema) # "schema"."table"
  Sequel.qualify(:table, :column).qualify(:schema) # "schema"."table"."column"

[Source]

     # File lib/sequel/sql.rb, line 953
953:       def qualify(qualifier)
954:         QualifiedIdentifier.new(qualifier, self)
955:       end

[Validate]