Alembic v2.1.0 Alembic.Pagination behaviour
Pagination by fixed-size pages
Summary
Types
first
- the firstPage.t
last
- the lastPage.t
next
- the nextPage.t
previous
- the previousPage.t
total_size
- the total number of all resources that can be paged
Callbacks
Converts the module’s type to a t
or nil
if there is no pagination information
Types
t :: %Alembic.Pagination{first: InterpreterServer.Api.Pagination.Page.t, last: InterpreterServer.Api.Pagination.Page.t, next: InterpreterServer.Api.Pagination.Page.t, previous: InterpreterServer.Api.Pagination.Page.t, total_size: non_neg_integer}
first
- the firstPage.t
last
- the lastPage.t
next
- the nextPage.t
previous
- the previousPage.t
total_size
- the total number of all resources that can be paged.
Callbacks
Specs
to_pagination(any) :: t | nil
Converts the module’s type to a t
or nil
if there is no pagination information.