pub trait DistinctOnDsl<Selection> {
    type Output;

    fn distinct_on(self, selection: Selection) -> DistinctOn<Self, Selection>;
Available on crate feature postgres_backend only.
Expand description

The distinct_on method

This trait should not be relied on directly by most apps. Its behavior is provided by QueryDsl. However, you may need a where clause on this trait to call distinct_on from generic code.

Required Associated Types

The type returned by .distinct_on

Required Methods

See the trait documentation