Alembic v2.1.0 Alembic.Pagination behaviour
Pagination by fixed-size pages
Summary
Types
first- the firstPage.tlast- the lastPage.tnext- the nextPage.tprevious- the previousPage.ttotal_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.tlast- the lastPage.tnext- the nextPage.tprevious- the previousPage.ttotal_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.