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
1500 def initialize(value)
1501   @value = value
1502   freeze
1503 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
1507 def function(*args)
1508   Function.new(self, *args)
1509 end