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§

source

type BoxedClause

Resulting type

Required Methods§

source

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.
source§

impl<'a> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, NoOffsetClause>

Available on crate feature sqlite only.
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.
source§

impl<'a, L> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<LimitClause<L>, NoOffsetClause>where L: QueryFragment<Sqlite> + Send + 'a,

Available on crate feature sqlite only.
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.
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.
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.
source§

impl<'a, O> IntoBoxedClause<'a, Sqlite> for LimitOffsetClause<NoLimitClause, OffsetClause<O>>where O: QueryFragment<Sqlite> + Send + 'a,

Available on crate feature sqlite only.