Module: Sequel::SQL::Constants

Included in:
Sequel
Defined in:
lib/sequel/sql.rb

Overview

Holds default generic constants that can be referenced. These are included in the Sequel top level module and are also available in this module which can be required at the top level to get direct access to the constants.

Constant Summary collapse

CURRENT_DATE =
Constant.new(:CURRENT_DATE)
CURRENT_TIME =
Constant.new(:CURRENT_TIME)
CURRENT_TIMESTAMP =
Constant.new(:CURRENT_TIMESTAMP)
SQLTRUE =
TRUE = BooleanConstant.new(true)
SQLFALSE =
FALSE = BooleanConstant.new(false)
NULL =
BooleanConstant.new(nil)
NOTNULL =
NegativeBooleanConstant.new(nil)