QueryInteger extension

Extension methods for queries projected to an int expression.

on

Methods

avg() QuerySingle<(Expr<double?>)>

Available on Query<(Expr<int?>)>, provided by the QueryInteger extension

Take the average of the rows in this query using the AVG aggregate function.
max() QuerySingle<(Expr<int?>)>

Available on Query<(Expr<int?>)>, provided by the QueryInteger extension

Take the largest row of the rows in this query using the MAX aggregate function.
min() QuerySingle<(Expr<int?>)>

Available on Query<(Expr<int?>)>, provided by the QueryInteger extension

Take the smallest row of the rows in this query using the MIN aggregate function.
sum() QuerySingle<(Expr<int>)>

Available on Query<(Expr<int?>)>, provided by the QueryInteger extension

Take the sum of the rows in this query using the SUM aggregate function.