Trait diesel::query_dsl::methods::DistinctOnDsl [−][src]
pub trait DistinctOnDsl<Selection> { type Output; fn distinct_on(self, selection: Selection) -> Self::Output; }
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.
Associated Types
Required methods
fn distinct_on(self, selection: Selection) -> Self::Output
[src]
fn distinct_on(self, selection: Selection) -> Self::Output
[src]See the trait documentation
Implementors
impl<T, Selection> DistinctOnDsl<Selection> for T where
Selection: SelectableExpression<T>,
T: Table,
T::Query: DistinctOnDsl<Selection>,
[src]
impl<T, Selection> DistinctOnDsl<Selection> for T where
Selection: SelectableExpression<T>,
T: Table,
T::Query: DistinctOnDsl<Selection>,
[src]type Output = <T::Query as DistinctOnDsl<Selection>>::Output