Function count_distinct

Source
pub fn count_distinct<T, E>(expr: E) -> CountDistinct<T, E::Expression>
where T: SqlType + SingleValue, E: AsExpression<T>,
👎Deprecated: Use AggregateExpressionMethods::aggregate_distinct instead