diesel::query_dsl::methods

Trait LimitDsl

Source
pub trait LimitDsl<DummyArgForAutoType = i64> {
    type Output;

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

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

Required Associated Types§

Source

type Output

The type returned by .limit

Required Methods§

Source

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

See the trait documentation

Implementors§

Source§

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

Source§

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