Trait diesel::query_builder::IntoBoxedClause
source · pub trait IntoBoxedClause<'a, DB> {
type BoxedClause;
// Required method
fn into_boxed(self) -> Self::BoxedClause;
}
Expand description
A trait used to construct type erased boxed variant of the current query node
Mainly useful for implementing third party backends
Required Associated Types§
sourcetype BoxedClause
type BoxedClause
Resulting type
Required Methods§
sourcefn into_boxed(self) -> Self::BoxedClause
fn into_boxed(self) -> Self::BoxedClause
Convert the given query node in it’s boxed representation
Implementors§
source§impl<'a> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<NoLimitClause, NoOffsetClause>
Available on crate feature mysql_backend
only.
impl<'a> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<NoLimitClause, NoOffsetClause>
Available on crate feature
mysql_backend
only.type BoxedClause = BoxedLimitOffsetClause<'a, Mysql>
source§impl<'a> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, NoOffsetClause>
Available on crate feature sqlite
only.
impl<'a> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, NoOffsetClause>
Available on crate feature
sqlite
only.type BoxedClause = BoxedLimitOffsetClause<'a, Sqlite>
source§impl<'a, L> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<LimitClause<L>, NoOffsetClause>where
L: QueryFragment<Mysql> + Send + 'a,
Available on crate feature mysql_backend
only.
impl<'a, L> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<LimitClause<L>, NoOffsetClause>where L: QueryFragment<Mysql> + Send + 'a,
Available on crate feature
mysql_backend
only.type BoxedClause = BoxedLimitOffsetClause<'a, Mysql>
source§impl<'a, L> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, NoOffsetClause>where
L: QueryFragment<Sqlite> + Send + 'a,
Available on crate feature sqlite
only.
impl<'a, L> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, NoOffsetClause>where L: QueryFragment<Sqlite> + Send + 'a,
Available on crate feature
sqlite
only.type BoxedClause = BoxedLimitOffsetClause<'a, Sqlite>
source§impl<'a, L, O> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>>where
L: QueryFragment<Mysql> + Send + 'a,
O: QueryFragment<Mysql> + Send + 'a,
Available on crate feature mysql_backend
only.
impl<'a, L, O> IntoBoxedClause<'a, Mysql> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>>where L: QueryFragment<Mysql> + Send + 'a, O: QueryFragment<Mysql> + Send + 'a,
Available on crate feature
mysql_backend
only.type BoxedClause = BoxedLimitOffsetClause<'a, Mysql>
source§impl<'a, L, O> IntoBoxedClause<'a, Pg> for LimitOffsetClause<L, O>where
L: QueryFragment<Pg> + Send + 'a,
O: QueryFragment<Pg> + Send + 'a,
Available on crate feature postgres_backend
only.
impl<'a, L, O> IntoBoxedClause<'a, Pg> for LimitOffsetClause<L, O>where L: QueryFragment<Pg> + Send + 'a, O: QueryFragment<Pg> + Send + 'a,
Available on crate feature
postgres_backend
only.type BoxedClause = BoxedLimitOffsetClause<'a, Pg>
source§impl<'a, L, O> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>>where
L: QueryFragment<Sqlite> + Send + 'a,
O: QueryFragment<Sqlite> + Send + 'a,
Available on crate feature sqlite
only.
impl<'a, L, O> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, OffsetClause<O>>where L: QueryFragment<Sqlite> + Send + 'a, O: QueryFragment<Sqlite> + Send + 'a,
Available on crate feature
sqlite
only.type BoxedClause = BoxedLimitOffsetClause<'a, Sqlite>
source§impl<'a, O> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, OffsetClause<O>>where
O: QueryFragment<Sqlite> + Send + 'a,
Available on crate feature sqlite
only.
impl<'a, O> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, OffsetClause<O>>where O: QueryFragment<Sqlite> + Send + 'a,
Available on crate feature
sqlite
only.