Represents an SQL array access, with multiple possible arguments.
Extendsfunction (arrCol,sub){ //The SQL array column this.__arrCol = arrCol; //The array of subscripts to use (should be an array of numbers) this.__sub = sub; }
Create a new patio.sql.Subscript appending the given subscript(s) the the current array of subscripts.
Argumentsfunction (sub){ return new SubScript(this.__arrCol, this.__sub.concat(sub)); }
Converts the patio.sql.SubScript to a string.
Argumentsdataset used to created the SQL fragment, if the dataset is ommited then the default patio.Dataset implementation is used.
String the SQL version of the patio.sql.SubScript.
function (ds){ !Dataset && (Dataset = require("./dataset")); ds = ds || new Dataset(); return ds.subscriptSql(this); }