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

ยงPanics

This function will panic if the alias cannot be parsed.