Defines boolean/logical AND (&), OR (|) and NOT (~) operators that are defined on objects that can be used in a boolean context in SQL ( patio.sql.LiteralString, and patio.sql.GenericExpression).

Example
sql.a.and(sql.b) //=> "a" AND "b"
sql.a.or(sql.b) //=> "a" OR "b"
sql.a.not() //=> NOT "a"
            

Constructor

Defined sql.js Source
define({
            

and Function Public


Defined sql.js

Example
sql.a.and(sql.b) //=> "a" AND "b"
        
Returns Source
booleanMethod("and")
    

not Function Public


Defined sql.js

Logical NOT

Example
sql.a.not() //=> NOT "a"
        
Returns Source
function (){
   return BooleanExpression.invert(this);
           
}
    

or Function Public


Defined sql.js

Example
sql.a.or(sql.b) //=> "a" OR "b"
        
Returns Source
booleanMethod("or")
    

Documentation generated using coddoc.