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 1246 1246: def initialize(constant) 1247: @constant = constant 1248: end
Reference the constant in the Sequel module if there is one that matches.
# File lib/sequel/extensions/eval_inspect.rb, line 113 113: def inspect 114: INSPECT_LOOKUPS.each do |c| 115: return "Sequel::#{c}" if Sequel.const_get(c) == self 116: end 117: super 118: end
[Validate]