Function floor
Source pub fn floor<'a, V, E>(expr: E) -> SQLExpr<'a, V, Double, E::Nullable, Scalar>
Expand description
FLOOR - rounds a number down to the nearest integer.
Returns Double type, preserves nullability.
§Example
ⓘuse drizzle_core::expr::floor;
let floored = floor(users.price);