Skip to main content

BoxedQuery

Trait BoxedQuery 

Source
pub trait BoxedQuery<'a, QS, DB>:
    FilterDsl<BoxedCondition<'a, QS, DB>, Output = Self>
    + ThenOrderDsl<BoxedOrdering<'a, QS, DB>, Output = Self>
    + LimitDsl<Output = Self>
    + OffsetDsl<Output = Self> { }
Expand description

A boxed query on the table QS (table.into_boxed(), after any select or filter): one taking conditions, orderings, a limit and an offset as the same type, which apply adds.

Blanket-implemented for every query that does: Diesel’s boxed select statements.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a, QS, DB, Q> BoxedQuery<'a, QS, DB> for Q
where Q: FilterDsl<BoxedCondition<'a, QS, DB>, Output = Self> + ThenOrderDsl<BoxedOrdering<'a, QS, DB>, Output = Self> + LimitDsl<Output = Self> + OffsetDsl<Output = Self>,