Function diesel::expression::dsl::avg [] [src]

pub fn avg<ST, T>(t: T) -> Avg<T> where ST: Foldable, T: Expression<SqlType=ST>

Represents a SQL AVG function. This function can only take types which are Foldable.