Class Sequel::SQL::Constant
In: lib/sequel/sql.rb
Parent: GenericExpression

Represents constants or psuedo-constants (e.g. CURRENT_DATE) in SQL.

Methods

new  

Attributes

constant  [R]  The underlying constant related to this object.

Public Class methods

Create an constant with the given value

[Source]

     # File lib/sequel/sql.rb, line 679
679:       def initialize(constant)
680:         @constant = constant
681:       end

[Validate]