Trait diesel::query_dsl::methods::SelectDsl

source ·
pub trait SelectDsl<Selection: Expression> {
    type Output;

    // Required method
    fn select(self, selection: Selection) -> Self::Output;
}
Expand description

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.

Required Associated Types§

source

type Output

The type returned by .select

Required Methods§

source

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

See the trait documentation

Implementors§

source§

impl<S, Selection> SelectDsl<Selection> for Alias<S>
where Selection: Expression, Self: AsQuery, <Self as AsQuery>::Query: SelectDsl<Selection>,

source§

type Output = <<Alias<S> as AsQuery>::Query as SelectDsl<Selection>>::Output

source§

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

source§

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