Represents constants or psuedo-constants (e.g. CURRENT_DATE) in SQL.
Create an constant with the given value
[Source]
# File lib/sequel/sql.rb, line 1151 1151: def initialize(constant) 1152: @constant = constant 1153: end
Reference the constant in the Sequel module if there is one that matches.
# File lib/sequel/extensions/eval_inspect.rb, line 103 103: def inspect 104: INSPECT_LOOKUPS.each do |c| 105: return "Sequel::#{c}" if Sequel.const_get(c) == self 106: end 107: super 108: end
[Validate]