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 1293 def initialize(constant) 1294 @constant = constant 1295 freeze 1296 end