proof_of_sql_parser::utility

Function count_res

source
pub fn count_res(expr: Box<Expression>, alias: &str) -> SelectResultExpr
Expand description

Count the amount of non-null entries of expression and give it an alias i.e. SELECT COUNT(EXPR) AS ALIAS