class Sequel::SQL::Identifier

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

Represents an identifier (column, table, schema, etc.).

Methods

Public Class

  1. new

Public Instance

  1. function
  2. value

Included modules

  1. QualifyingMethods

Attributes

value [R]

The identifier to reference

Public Class methods

new(value)

Set the identifier to the given argument

[show source]
     # File lib/sequel/sql.rb
1518 def initialize(value)
1519   @value = value
1520   freeze
1521 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
1525 def function(*args)
1526   Function.new(self, *args)
1527 end