Trait diesel::query_dsl::methods::LimitDsl[][src]

pub trait LimitDsl {
    type Output;
    fn limit(self, limit: i64) -> Self::Output;
}

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.

Associated Types

type Output[src]

The type returned by .limit

Loading content...

Required methods

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

See the trait documentation

Loading content...

Implementors

impl<T> LimitDsl for T where
    T: Table,
    T::Query: LimitDsl
[src]

type Output = <T::Query as LimitDsl>::Output

Loading content...