pub trait Foldable { type Sum; type Avg; }
Represents SQL types which can be used with SUM and AVG
SUM
AVG
The SQL type of sum(this_type)
sum(this_type)
The SQL type of avg(this_type)
avg(this_type)