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 716
716:       def initialize(constant)
717:         @constant = constant
718:       end

[Validate]