Represents constants or psuedo-constants (e.g. CURRENT_DATE
) in SQL
.
Attributes
constant | [R] |
The underlying constant related to this object. |
Public Class methods
new(constant)
Create a constant with the given value
[show source]
# File lib/sequel/sql.rb 1296 def initialize(constant) 1297 @constant = constant 1298 freeze 1299 end