diesel::query_dsl::methods

Trait BoxedDsl

Source
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,

Source§

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>

Source§

impl<'a, T, DB> BoxedDsl<'a, DB> for T

Source§

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

Source§

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>>,

Source§

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