pub enum Distinct {
All,
Distinct,
On(Vec<Expr>),
}Expand description
ALL, DISTINCT, or DISTINCT ON (...) modifiers for SELECT lists.
Variants§
All
ALL (keep duplicate rows)
Generally this is the default if omitted, but omission should be represented as
None::<Option<Distinct>>
Distinct
DISTINCT (remove duplicate rows)
On(Vec<Expr>)
DISTINCT ON (...) (Postgres extension)