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
1709 def initialize(table, column)
1710   @table = convert_identifier(table)
1711   @column = convert_identifier(column)
1712   freeze
1713 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
1717 def function(*args)
1718   Function.new(self, *args)
1719 end