Function sum_res

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

Compute the sum of an expression and give it an alias i.e. SELECT SUM(EXPR) AS ALIAS

ยงPanics

This function will panic if the alias cannot be parsed.