Defines the bitwise methods: bitWiseAnd, bitWiseOr, exclusiveOr, leftShift, and rightShift. These methods are only on patio.sql.NumericExpression

Example
  1. sql.a.sqlNumber.bitWiseAnd("b"); //=> "a" & "b"
  2. sql.a.sqlNumber.bitWiseOr("b") //=> "a" | "b"
  3. sql.a.sqlNumber.exclusiveOr("b") //=> "a" ^ "b"
  4. sql.a.sqlNumber.leftShift("b") // "a" << "b"
  5. sql.a.sqlNumber.rightShift("b") //=> "a" >> "b"
Instance Properties
PropertyTypeDefault ValueDescription
bitWiseAndpropertybitWiseMethod("bitWiseAnd")

Bitwise and

bitWiseOrpropertybitWiseMethod("bitWiseOr")

Bitwise or

exclusiveOrpropertybitWiseMethod("exclusiveOr")

Exclusive Or

leftShiftpropertybitWiseMethod("leftShift")

Bitwise shift left

rightShiftpropertybitWiseMethod("rightShift")

Bitwise shift right

Constructor

Defined sql.js Source
  1. define(null, {

Documentation generated using coddoc.