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 677
677:       def initialize(constant)
678:         @constant = constant
679:       end

[Validate]