ArithmeticBigIntExpr extension Null safety

Defines the -, * and / operators on sql expressions that support it.

on

Methods

abs() Expression<BigInt>
Calculates the absolute value of this number.
roundToInt() Expression<int>
Rounds this expression to the nearest integer.

Operators

operator *(Expression<BigInt> other) Expression<BigInt>
Performs a multiplication (this * other) in sql.
operator +(Expression<BigInt> other) Expression<BigInt>
Performs an addition (this + other) in sql.
operator -(Expression<BigInt> other) Expression<BigInt>
Performs a subtraction (this - other) in sql.
operator /(Expression<BigInt> other) Expression<BigInt>
Performs a division (this / other) in sql.
operator unary-() Expression<BigInt>
Returns the negation of this value.