operator ~ method

Expression<BigInt> operator ~()

Flips all bits in this value (turning 0 to 1 and vice-versa) and returns the result.

Note that, just like BitwiseInt, this still operates on 64-bit integers in SQL. The BigInt type on the expression only tells drift that the result should be integerpreted as a big integer, which is primarily useful on the web where large values cannot be stored in an int.

Implementation

Expression<BigInt> operator ~() {
  return _BitwiseNegation(this);
}