Skip to main content

distinct

Function distinct 

Source
pub fn distinct<'a, V, E>(
    expr: E,
) -> SQLExpr<'a, V, E::SQLType, E::Nullable, Scalar>
where V: SQLParam + 'a, E: Expr<'a, V>,
Expand description

DISTINCT - marks an expression as DISTINCT.

Typically used inside aggregate functions.