Skip to main content

apply

Function apply 

Source
pub fn apply<'a, Q, QS, DB>(
    query: Q,
    condition: Option<BoxedCondition<'a, QS, DB>>,
    orderings: Vec<BoxedOrdering<'a, QS, DB>>,
    page: Option<(i64, i64)>,
) -> Q
where Q: BoxedQuery<'a, QS, DB>,
Expand description

The boxed query query with the condition (its filter, so ANDed to the query’s own), the orderings after its own (then_order_by), and the page (limit and offset, from page).