Function tidb_query_expr::impl_cast::cast_time_as_duration [−][src]
fn cast_time_as_duration(
ctx: &mut EvalContext,
extra: &RpnFnCallExtra<'_>,
val: Option<&DateTime>
) -> Result<Option<Duration>>
fn cast_time_as_duration(
ctx: &mut EvalContext,
extra: &RpnFnCallExtra<'_>,
val: Option<&DateTime>
) -> Result<Option<Duration>>