julianday

Function julianday 

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

JULIANDAY - converts a temporal expression to Julian day number (SQLite).

Returns Double type, preserves nullability.

§Example

use drizzle_core::expr::julianday;

// SELECT JULIANDAY(users.created_at)
let julian = julianday(users.created_at);