Added count_distinct to expression dsl
@@ -75,6 +75,9 @@ pub mod dsl {
/// The return type of [`count_star()`](crate::dsl::count_star())
pub type count_star = super::count::CountStar;
+ /// The return type of [`count_distinct()`](crate::dsl::count_distinct())
+ pub type count_distinct<Expr> = super::count::CountDistinct<SqlTypeOf<Expr>, Expr>;
+
/// The return type of [`date(expr)`](crate::dsl::date())
pub type date<Expr> = super::functions::date_and_time::date::HelperType<Expr>;
}
