Class: Sequel::SQL::Identifier

Class | Sequel::SQL::Identifier
In: | lib/sequel_core/sql.rb
Parent: | GenericExpression

Represents an identifier (column or table). Can be used to specify a Symbol with multiple underscores should not be split, or for creating an identifier without using a symbol.

### Methods

new to_s

### Included Modules

QualifyingMethods

### Attributes

value | [R] | The table and column to reference

### Public Class methods

new(value)

Set the value to the given argument

[Source]

         # File lib/sequel_core/sql.rb, line 578
    578:       def initialize(value)
    579:         @value = value
    580:       end

### Public Instance methods

to_s(ds)

Delegate the creation of the resulting SQL to the given dataset, since it may be database dependent.

[Source]

         # File lib/sequel_core/sql.rb, line 584
    584:       def to_s(ds)
    585:         ds.quote_identifier(@value)
    586:       end

[Validate]