Represents an SQL function call.

Extends Instance Properties
PropertyTypeDefault ValueDescription
argsArray

READ ONLY args arguments will be literalized through patio.Dataset#literal and placed into the SQL function call.

fString

READ ONLY the SQL function to call.

Constructor

Defined sql.js Source
function (f){
   var args = argsToArray(arguments).slice(1);
   this.__f = isInstanceOf(f, Identifier) ? f.value : f, this.__args = args.map(function (a) {
       return isString(a) ? sql.stringToIdentifier(a) : a;
   });
           
}
            

toString Function Public


Defined sql.js

Converts the patio.sql.SQLFunction to a string.

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

Documentation generated using coddoc.