Trait diesel::query_dsl::methods::OffsetDsl

source ·
pub trait OffsetDsl {
    type Output;

    // Required method
    fn offset(self, offset: i64) -> Self::Output;
}
Expand description

The offset 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 offset from generic code.

Required Associated Types§

source

type Output

The type returned by .offset.

Required Methods§

source

fn offset(self, offset: i64) -> Self::Output

See the trait documentation

Implementors§

source§

impl<'a, ST, QS, DB, GB> OffsetDsl for BoxedSelectStatement<'a, ST, QS, DB, GB>

source§

type Output = BoxedSelectStatement<'a, ST, QS, DB, GB>

source§

impl<S> OffsetDsl for Alias<S>
where Self: AsQuery, <Self as AsQuery>::Query: OffsetDsl,

source§

impl<ST, F, S, D, W, O, L, Of, G, H, LC> OffsetDsl for SelectStatement<F, S, D, W, O, LimitOffsetClause<L, Of>, G, H, LC>
where Self: SelectQuery<SqlType = ST>, SelectStatement<F, S, D, W, O, LimitOffsetClause<L, OffsetClause<AsExprOf<i64, BigInt>>>, G, H, LC>: SelectQuery<SqlType = ST>,

source§

impl<T> OffsetDsl for T
where T: Table, T::Query: OffsetDsl,