ArithmeticExpr<DT extends num> extension

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

on

Methods

abs() Expression<DT>

Available on Expression<DT>, provided by the ArithmeticExpr extension

Calculates the absolute value of this number.
roundToInt() Expression<int>

Available on Expression<DT>, provided by the ArithmeticExpr extension

Rounds this expression to the nearest integer.

Operators

operator *(Expression<DT> other) Expression<DT>

Available on Expression<DT>, provided by the ArithmeticExpr extension

Performs a multiplication (this * other) in sql.
operator +(Expression<DT> other) Expression<DT>

Available on Expression<DT>, provided by the ArithmeticExpr extension

Performs an addition (this + other) in sql.
operator -(Expression<DT> other) Expression<DT>

Available on Expression<DT>, provided by the ArithmeticExpr extension

Performs a subtraction (this - other) in sql.
operator /(Expression<DT> other) Expression<DT>

Available on Expression<DT>, provided by the ArithmeticExpr extension

Performs a division (this / other) in sql.
operator unary-() Expression<DT>

Available on Expression<DT>, provided by the ArithmeticExpr extension

Returns the negation of this value.