time

Function time 

Source
pub fn time<'a, V, E>(expr: E) -> SQLExpr<'a, V, Time, E::Nullable, Scalar>
where V: SQLParam + 'a, E: Expr<'a, V>, E::SQLType: Temporal,
Expand description

TIME - extracts the time part from a temporal expression (SQLite).

Preserves the nullability of the input expression.

§Example

use drizzle_core::expr::time;

// SELECT TIME(users.created_at)
let created_time = time(users.created_at);