pub trait BoxedDsl<'a, DB> {
    type Output;

    // Required method
    fn internal_into_boxed(self) -> IntoBoxed<'a, Self, DB>;
}
Expand description

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

Required Associated Types§

source

type Output

The return type of internal_into_boxed

Required Methods§

source

fn internal_into_boxed(self) -> IntoBoxed<'a, Self, DB>

See the trait documentation.

Implementors§

source§

impl<'a, S, D, W, O, LOf, G, H, DB> BoxedDsl<'a, DB> for SelectStatement<NoFromClause, S, D, W, O, LOf, G, H>where Self: AsQuery, DB: Backend, S: SelectClauseExpression<NoFromClause> + QueryFragment<DB> + Send + 'a, S::Selection: ValidGrouping<G::Expressions>, D: QueryFragment<DB> + Send + 'a, W: Into<BoxedWhereClause<'a, DB>>, O: Into<Option<Box<dyn QueryFragment<DB> + Send + 'a>>>, LOf: IntoBoxedClause<'a, DB, BoxedClause = BoxedLimitOffsetClause<'a, DB>>, G: ValidGroupByClause + QueryFragment<DB> + Send + 'a, H: QueryFragment<DB> + Send + 'a,

§

type Output = BoxedSelectStatement<'a, <S as SelectClauseExpression<NoFromClause>>::SelectClauseSqlType, NoFromClause, DB, <G as ValidGroupByClause>::Expressions>

source§

impl<'a, S, DB> BoxedDsl<'a, DB> for Alias<S>where Alias<S>: QuerySource + AsQuery<Query = SelectStatement<FromClause<Alias<S>>>>, SelectStatement<FromClause<Alias<S>>>: BoxedDsl<'a, DB>, <Alias<S> as QuerySource>::DefaultSelection: Expression<SqlType = <Alias<S> as AsQuery>::SqlType> + ValidGrouping<()>, <Alias<S> as AsQuery>::SqlType: TypedExpressionType,

§

type Output = <SelectStatement<FromClause<Alias<S>>, DefaultSelectClause<FromClause<Alias<S>>>, NoDistinctClause, NoWhereClause, NoOrderClause, LimitOffsetClause<NoLimitClause, NoOffsetClause>, NoGroupByClause, NoHavingClause, NoLockingClause> as BoxedDsl<'a, DB>>::Output

source§

impl<'a, T, DB> BoxedDsl<'a, DB> for Twhere T: Table + AsQuery<Query = SelectStatement<FromClause<T>>>, SelectStatement<FromClause<T>>: BoxedDsl<'a, DB>, T::DefaultSelection: Expression<SqlType = T::SqlType> + ValidGrouping<()>, T::SqlType: TypedExpressionType,

§

type Output = <SelectStatement<FromClause<T>, DefaultSelectClause<FromClause<T>>, NoDistinctClause, NoWhereClause, NoOrderClause, LimitOffsetClause<NoLimitClause, NoOffsetClause>, NoGroupByClause, NoHavingClause, NoLockingClause> as BoxedDsl<'a, DB>>::Output

source§

impl<'a, T, U, Ret, DB> BoxedDsl<'a, DB> for DeleteStatement<T, U, Ret>where U: Into<BoxedWhereClause<'a, DB>>, T: QuerySource,

§

type Output = DeleteStatement<T, BoxedWhereClause<'a, DB>, Ret>

source§

impl<'a, T, U, V, Ret, DB> BoxedDsl<'a, DB> for UpdateStatement<T, U, V, Ret>where T: QuerySource, U: Into<BoxedWhereClause<'a, DB>>,

§

type Output = UpdateStatement<T, BoxedWhereClause<'a, DB>, V, Ret>