pub fn time<'a, V, E>(
expr: E,
) -> SQLExpr<'a, V, <V::DialectMarker as DialectTypes>::Time, E::Nullable, E::Aggregate, E::Sources>where
V: SQLParam + 'a,
V::DialectMarker: DialectSupports<SQLiteDateTime>,
E: Expr<'a, V>,
E::SQLType: Temporal,Expand description
The time part of a time value (TIME), on SQLite.
The argument must be temporal. The result is the dialect’s time type and keeps the argument’s nullability.
§Examples
assert_eq!(time(users.created_at).sql(), r#"TIME ("users"."created_at")"#);