Function datetime
Source pub fn datetime<'a, V, E>(
expr: E,
) -> SQLExpr<'a, V, Timestamp, E::Nullable, Scalar>
Expand description
DATETIME - creates a datetime from a temporal expression (SQLite).
Preserves the nullability of the input expression.
§Example
ⓘuse drizzle_core::expr::datetime;
let dt = datetime(users.created_at);