Represents constants or psuedo-constants (e.g.'CURRENT_DATE) in SQL.

Extends Instance Properties
PropertyTypeDefault ValueDescription
constantString

READ ONLY the contant.

Constructor

Defined sql.js Source
function (constant){
   this.__constant = constant;
           
}
            

toString Function Public


Defined sql.js

Converts the patio.sql.Constant to a string.

Arguments Returns Source
function (ds){
   !Dataset && (Dataset = require("./dataset"));
   ds = ds || new Dataset();
   return ds.constantSql(this.__constant);
           
}
    

Documentation generated using coddoc.