risingwave_sqlparser::parser_v2::expr

Function expr_extract

source
pub fn expr_extract<S>(input: &mut S) -> PResult<Expr>
where S: TokenStream,
Expand description

Consume a SQL EXTRACT function e.g. EXTRACT(YEAR FROM expr)