class Marten::DB::Query::Page(M)
- Marten::DB::Query::Page(M)
- Reference
- Object
Overview
A page resulting from a pagination operation.
Included Modules
- Enumerable(M)
- Marten::Template::Object::Auto
Defined in:
marten/db/query/page.crmarten/template/ext/db/query/page.cr
Constructors
Instance Method Summary
- #each(*args, **options)
- #each(*args, **options, &)
- 
        #next_page?
        
          Returns trueif there is a next page.
- 
        #next_page_number
        
          Returns the next page number, or nilif there is no next page.
- 
        #number
        
          Returns the page number. 
- 
        #previous_page?
        
          Returns trueif there is a previous page.
- 
        #previous_page_number
        
          Returns the previous page number, or nilif there is no previous page.