Defined sql.js

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

Source
  1. {
  2. /**@lends patio.sql.Constants*/
  3. /**
  4. * Constant for CURRENT DATE
  5. * @type patio.sql.Constant
  6. */
  7. CURRENT_DATE: new Constant("CURRENT_DATE"),
  8. /**
  9. * Constant for CURRENT TIME
  10. * @type patio.sql.Constant
  11. */
  12. CURRENT_TIME: new Constant("CURRENT_TIME"),
  13. /**
  14. * Constant for CURRENT TIMESTAMP
  15. * @type patio.sql.Constant
  16. */
  17. CURRENT_TIMESTAMP: new Constant("CURRENT_TIMESTAMP"),
  18. /**
  19. * Constant for TRUE
  20. * @type patio.sql.BooleanConstant
  21. */
  22. SQLTRUE: new BooleanConstant(1),
  23. /**
  24. * Constant for TRUE
  25. * @type patio.sql.BooleanConstant
  26. */
  27. TRUE: new BooleanConstant(1),
  28. /**
  29. * Constant for FALSE.
  30. * @type patio.sql.BooleanConstant
  31. */
  32. SQLFALSE: new BooleanConstant(0),
  33. /**
  34. * Constant for FALSE
  35. * @type patio.sql.BooleanConstant
  36. */
  37. FALSE: new BooleanConstant(0),
  38. /**
  39. * Constant for NULL
  40. * @type patio.sql.BooleanConstant
  41. */
  42. NULL: new BooleanConstant(null),
  43. /**
  44. * Constant for NOT NULL
  45. * @type patio.sql.NegativeBooleanConstant
  46. */
  47. NOTNULL: new NegativeBooleanConstant(null)
  48. }
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.