Defined sql.js

Holds default generic constants that can be referenced. These are included in patio

Source
{
    /**@lends patio.sql.Constants*/
    /**
     * Constant for CURRENT DATE
     * @type patio.sql.Constant
     */
    CURRENT_DATE: new Constant("CURRENT_DATE"),
    /**
     * Constant for CURRENT TIME
     * @type patio.sql.Constant
     */
    CURRENT_TIME: new Constant("CURRENT_TIME"),
    /**
     * Constant for CURRENT TIMESTAMP
     * @type patio.sql.Constant
     */
    CURRENT_TIMESTAMP: new Constant("CURRENT_TIMESTAMP"),
    /**
     * Constant for TRUE
     * @type patio.sql.BooleanConstant
     */
    SQLTRUE: new BooleanConstant(1),
    /**
     * Constant for TRUE
     * @type patio.sql.BooleanConstant
     */
    TRUE: new BooleanConstant(1),
    /**
     * Constant for FALSE.
     * @type patio.sql.BooleanConstant
     */
    SQLFALSE: new BooleanConstant(0),
    /**
     * Constant for FALSE
     * @type patio.sql.BooleanConstant
     */
    FALSE: new BooleanConstant(0),
    /**
     * Constant for NULL
     * @type patio.sql.BooleanConstant
     */
    NULL: new BooleanConstant(null),
    /**
     * Constant for NOT NULL
     * @type patio.sql.NegativeBooleanConstant
     */
    NOTNULL: new NegativeBooleanConstant(null)
}
    
PropertyTypeDefault ValueDescription
CURRENT_DATEpatio.sql.Constantnew Constant("CURRENT_DATE")

Constant for CURRENT DATE

CURRENT_TIMEpatio.sql.Constantnew Constant("CURRENT_TIME")

Constant for CURRENT TIME

CURRENT_TIMESTAMPpatio.sql.Constantnew Constant("CURRENT_TIMESTAMP")

Constant for CURRENT TIMESTAMP

FALSEpatio.sql.BooleanConstantnew BooleanConstant(0)

Constant for FALSE

NOTNULLpatio.sql.NegativeBooleanConstantnew NegativeBooleanConstant(null)

Constant for NOT NULL

NULLpatio.sql.BooleanConstantnew BooleanConstant(null)

Constant for NULL

SQLFALSEpatio.sql.BooleanConstantnew BooleanConstant(0)

Constant for FALSE.

SQLTRUEpatio.sql.BooleanConstantnew BooleanConstant(1)

Constant for TRUE

TRUEpatio.sql.BooleanConstantnew BooleanConstant(1)

Constant for TRUE


Documentation generated using coddoc.