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
1529 def initialize(value)
1530   @value = value
1531   freeze
1532 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
1536 def function(*args)
1537   Function.new(self, *args)
1538 end