pub trait Paginate: Sized {
    // Required method
    fn paginate(self, page: Option<i32>) -> PaginatedQuery<Self>;
}
Expand description

A trait intended for enabling pagination in diesel’s query builder.

Required Methods§

source

fn paginate(self, page: Option<i32>) -> PaginatedQuery<Self>

Return a paginated version of a query for a specific page number.

Implementors§

source§

impl<T> Paginate for T