Function trunc
Source pub fn trunc<'a, V, E>(expr: E) -> SQLExpr<'a, V, Double, E::Nullable, Scalar>
Expand description
TRUNC - truncates a number towards zero.
Returns Double type, preserves nullability.
§Example
ⓘuse drizzle_core::expr::trunc;
let truncated = trunc(users.price);