Represents an SQL array access, with multiple possible arguments.

Extends

Constructor

Defined sql.js Source
  1. function (arrCol,sub){
  2. //The SQL array column
  3. this.__arrCol = arrCol;
  4. //The array of subscripts to use (should be an array of numbers)
  5. this.__sub = sub;
  6. }

addSub Function Public


Defined sql.js

Create a new patio.sql.Subscript appending the given subscript(s) the the current array of subscripts.

Arguments Source
  1. function (sub){
  2. return new SubScript(this.__arrCol, this.__sub.concat(sub));
  3. }

toString Function Public


Defined sql.js

Converts the patio.sql.SubScript to a string.

Arguments Returns Source
  1. function (ds){
  2. !Dataset && (Dataset = require("./dataset"));
  3. ds = ds || new Dataset();
  4. return ds.subscriptSql(this);
  5. }

Documentation generated using coddoc.