count_distinct

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
Available on crate feature with-deprecated and non-crate feature without-deprecated only.