Provides methods to assist in assigning a SQL type to particular types, i.e. Boolean, Function, Number or String.
Instance PropertiesProperty | Type | Default Value | Description |
sqlBoolean | patio.sql.BooleanExpression | Return a patio.sql.BooleanExpression representation of this expression type. | |
sqlFunction | patio.sql.BooleanExpression | Return a patio.sql.SQLFunction representation of this expression type. | |
sqlNumber | patio.sql.BooleanExpression | Return a patio.sql.NumericExpression representation of this expression type. sql.a.not("a") //=> NOT "a" sql.a.sqlNumber.not() //=> ~"a" | |
sqlString | patio.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" | |
define({