Trait diesel::prelude::LimitDsl [] [src]

pub trait LimitDsl: AsQuery {
    type Output: AsQuery<SqlType=Self::SqlType>;
    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

Required Methods

Implementors