Defines the bitwise methods: bitWiseAnd, bitWiseOr, exclusiveOr, leftShift, and rightShift. These methods are only on patio.sql.NumericExpression
Examplesql.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"Instance Properties
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, {