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
1515 def initialize(value)
1516   @value = value
1517   freeze
1518 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
1522 def function(*args)
1523   Function.new(self, *args)
1524 end