[][src]Trait diesel::query_dsl::methods::SelectDsl

pub trait SelectDsl<Selection: Expression> {
    type Output;
    fn select(self, selection: Selection) -> Self::Output;

The select 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 select from generic code.

Associated Types

type Output

The type returned by .select

Loading content...

Required methods

fn select(self, selection: Selection) -> Self::Output

See the trait documentation

Loading content...


impl<T, Selection> SelectDsl<Selection> for T where
    Selection: Expression,
    T: Table,
    T::Query: SelectDsl<Selection>, 

type Output = <T::Query as SelectDsl<Selection>>::Output

Loading content...