Trait diesel::LimitDsl [] [src]

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

Sets the limit clause of a query. If there was already a limit clause, it will be overridden. This is automatically implemented for the various query builder types.

Associated Types

type Output: Query

Required Methods

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

Implementors