Function tidb_query_expr::impl_cast::cast_int_as_duration[][src]

fn cast_int_as_duration(
    ctx: &mut EvalContext,
    extra: &RpnFnCallExtra<'_>,
    val: Option<&Int>
) -> Result<Option<Duration>>