This mixin provides string concatenation methods ("concat");

Example
  1. sql.x.sqlString.concat("y"); //=> "x" || "y"

Constructor

Defined sql.js Source
  1. define({

concat Function Public


Defined sql.js

Return a patio.sql.StringExpression representing the concatenation of this expression with the given argument.

Example
  1. sql.x.sqlString.concat("y"); //=> "x" || "y"
Arguments Source
  1. function (expression){
  2. return new StringExpression("||", this, expression);
  3. }

sqlSubscript Function Public


Defined sql.js

Return a patio.sql.Subscript with the given arguments, representing an SQL array access.

Example
  1. sql.array.sqlSubscript(1) //=> array[1]
  2. sql.array.sqlSubscript(1, 2) //=> array[1, 2]
  3. sql.array.sqlSubscript([1, 2]) //=> array[1, 2]
Arguments Source
  1. function (subscript){
  2. var args = argsToArray(arguments);
  3. return new SubScript(this, flatten(args));
  4. }

Documentation generated using coddoc.