Function tidb_query_expr::impl_time::year[][src]

pub fn year(ctx: &mut EvalContext, t: Option<&DateTime>) -> Result<Option<Int>>