-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pagination): add paginate function to calculate offset, limit, a…
…nd total pages in `get_table` handler (#26) * feat(pagination): add paginate function to calculate offset, limit, and total pages in `get_table` handler * move more work into the `Pagination` struct --------- Co-authored-by: Jacob Heider <[email protected]>
- Loading branch information
1 parent
4a5f4e9
commit da445c5
Showing
2 changed files
with
40 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters