class Sequel::SQL::QualifiedIdentifier

  1. lib/sequel/sql.rb
Superclass: GenericExpression

Represents a qualified identifier (column with table or table with schema).

Methods

Public Class

  1. new

Public Instance

  1. column
  2. function
  3. table

Included modules

  1. QualifyingMethods

Attributes

column [R]

The column/table referenced

table [R]

The table/schema qualifying the reference

Public Class methods

new(table, column)

Set the table and column to the given arguments

[show source]
     # File lib/sequel/sql.rb
1712 def initialize(table, column)
1713   @table = convert_identifier(table)
1714   @column = convert_identifier(column)
1715   freeze
1716 end

Public Instance methods

function(*args)

Create a Function using this identifier as the functions name, with the given args.

[show source]
     # File lib/sequel/sql.rb
1720 def function(*args)
1721   Function.new(self, *args)
1722 end