Defines the bitwise methods: bitWiseAnd, bitWiseOr, exclusiveOr, leftShift, and rightShift. These methods are only on patio.sql.NumericExpression
ExampleInstance Properties
- sql.a.sqlNumber.bitWiseAnd("b"); //=> "a" & "b"
- sql.a.sqlNumber.bitWiseOr("b") //=> "a" | "b"
- sql.a.sqlNumber.exclusiveOr("b") //=> "a" ^ "b"
- sql.a.sqlNumber.leftShift("b") // "a" << "b"
- sql.a.sqlNumber.rightShift("b") //=> "a" >> "b"
Property | Type | Default Value | Description |
bitWiseAnd | property | bitWiseMethod("bitWiseAnd") | Bitwise and |
bitWiseOr | property | bitWiseMethod("bitWiseOr") | Bitwise or |
exclusiveOr | property | bitWiseMethod("exclusiveOr") | Exclusive Or |
leftShift | property | bitWiseMethod("leftShift") | Bitwise shift left |
rightShift | property | bitWiseMethod("rightShift") | Bitwise shift right |
- define(null, {