Provides methods to assist in assigning a SQL type to particular types, i.e. Boolean, Function, Number or String.

Instance Properties
PropertyTypeDefault ValueDescription
sqlBooleanpatio.sql.BooleanExpression

Return a patio.sql.BooleanExpression representation of this expression type.

sqlFunctionpatio.sql.BooleanExpression

Return a patio.sql.SQLFunction representation of this expression type.

sqlNumberpatio.sql.BooleanExpression

Return a patio.sql.NumericExpression representation of this expression type.

 sql.a.not("a") //=> NOT "a" sql.a.sqlNumber.not() //=> ~"a" 

sqlStringpatio.sql.BooleanExpression

Return a patio.sql.StringExpression representation of this expression type.

 sql.a.plus(sql.b); //=> "a" + "b" sql.a.sqlString.concat(sql.b) //=> "a" || "b" 

Constructor

Defined sql.js Source
define({
            

Documentation generated using coddoc.