Trait diesel::sql_types::Foldable[][src]

pub trait Foldable: SingleValue {
    type Sum: SqlType + SingleValue;
    type Avg: SqlType + SingleValue;
}
Expand description

Represents SQL types which can be used with SUM and AVG

Associated Types

The SQL type of sum(this_type)

The SQL type of avg(this_type)

Implementors