This mixin provides string concatenation methods ("concat");
Example
- sql.x.sqlString.concat("y"); //=> "x" || "y"
- define({
Return a patio.sql.StringExpression representing the concatenation of this expression with the given argument.
ExampleArguments
- sql.x.sqlString.concat("y"); //=> "x" || "y"
expression to concatenate this expression with.
- function (expression){
- return new StringExpression("||", this, expression);
- }
Return a patio.sql.Subscript with the given arguments, representing an SQL array access.
ExampleArguments
- sql.array.sqlSubscript(1) //=> array[1]
- sql.array.sqlSubscript(1, 2) //=> array[1, 2]
- sql.array.sqlSubscript([1, 2]) //=> array[1, 2]
- function (subscript){
- var args = argsToArray(arguments);
- return new SubScript(this, flatten(args));
- }