Struct diesel::query_builder::BoxedSelectStatement [] [src]

pub struct BoxedSelectStatement<'a, ST, QS, DB> {
    // some fields omitted
}

Methods

impl<'a, ST, QS, DB> BoxedSelectStatement<'a, ST, QS, DB>

fn new(select: Box<QueryFragment<DB> + 'a>, from: QS, distinct: Box<QueryFragment<DB> + 'a>, where_clause: Option<Box<QueryFragment<DB> + 'a>>, order: Box<QueryFragment<DB> + 'a>, limit: Box<QueryFragment<DB> + 'a>, offset: Box<QueryFragment<DB> + 'a>) -> Self

Trait Implementations

impl<'a, ST, QS, DB> Query for BoxedSelectStatement<'a, ST, QS, DB> where DB: Backend, DB: HasSqlType<ST>

type SqlType = ST

impl<'a, ST, QS, DB> QueryFragment<DB> for BoxedSelectStatement<'a, ST, QS, DB> where DB: Backend, QS: QuerySource, QS::FromClause: QueryFragment<DB>

fn to_sql(&self, out: &mut DB::QueryBuilder) -> BuildQueryResult

fn collect_binds(&self, out: &mut DB::BindCollector) -> QueryResult<()>

fn is_safe_to_cache_prepared(&self) -> bool

impl<'a, ST, QS, DB> QueryId for BoxedSelectStatement<'a, ST, QS, DB>

type QueryId = ()

fn has_static_query_id() -> bool

fn query_id() -> Option<TypeId>

impl<'a, ST, QS, DB, Type, Selection> SelectDsl<Selection, Type> for BoxedSelectStatement<'a, ST, QS, DB> where DB: Backend + HasSqlType<Type>, Selection: SelectableExpression<QS, Type> + QueryFragment<DB> + 'a

type Output = BoxedSelectStatement<'a, Type, QS, DB>

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

impl<'a, ST, QS, DB, Predicate> FilterDsl<Predicate> for BoxedSelectStatement<'a, ST, QS, DB> where DB: Backend + HasSqlType<ST> + 'a, Predicate: SelectableExpression<QS, SqlType=Bool> + NonAggregate, Predicate: QueryFragment<DB> + 'a

type Output = Self

fn filter(self, predicate: Predicate) -> Self::Output

impl<'a, ST, QS, DB> LimitDsl for BoxedSelectStatement<'a, ST, QS, DB> where DB: Backend, BoxedSelectStatement<'a, ST, QS, DB>: Query

type Output = Self

fn limit(self, limit: i64) -> Self::Output

impl<'a, ST, QS, DB> OffsetDsl for BoxedSelectStatement<'a, ST, QS, DB> where DB: Backend, BoxedSelectStatement<'a, ST, QS, DB>: Query

type Output = Self

fn offset(self, offset: i64) -> Self::Output

impl<'a, ST, QS, DB, Order> OrderDsl<Order> for BoxedSelectStatement<'a, ST, QS, DB> where DB: Backend, Order: QueryFragment<DB> + SelectableExpression<QS> + 'a, BoxedSelectStatement<'a, ST, QS, DB>: Query

type Output = Self

fn order(self, order: Order) -> Self::Output