Function abs
Source pub fn abs<'a, V, E>(expr: E) -> SQLExpr<'a, V, E::SQLType, E::Nullable, Scalar>
Expand description
ABS - returns the absolute value of a number.
Preserves the SQL type and nullability of the input expression.
ยงType Safety
โabs(users.balance);
abs(users.name);