diesel::dsl

Type Alias select

Source
pub type select<Selection> = SelectStatement<NoFromClause, SelectClause<Selection>>;
Expand description

Represents the return type of diesel::select(selection)

Aliased Type§

struct select<Selection> {
    pub select: SelectClause<Selection>,
    pub from: NoFromClause,
    pub distinct: NoDistinctClause,
    pub where_clause: NoWhereClause,
    pub order: NoOrderClause,
    pub limit_offset: LimitOffsetClause<NoLimitClause, NoOffsetClause>,
    pub group_by: NoGroupByClause,
    pub having: NoHavingClause,
    pub locking: NoLockingClause,
}

Fields§

§select: SelectClause<Selection>

The select clause of the query

§from: NoFromClause

The from clause of the query

§distinct: NoDistinctClause

The distinct clause of the query

§where_clause: NoWhereClause

The where clause of the query

§order: NoOrderClause

The order clause of the query

§limit_offset: LimitOffsetClause<NoLimitClause, NoOffsetClause>

The combined limit/offset clause of the query

§group_by: NoGroupByClause

The group by clause of the query

§having: NoHavingClause

The having clause of the query

§locking: NoLockingClause

The locking clause of the query