Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nightblure/keyset-pagination-example
Keyset pagination example (comparison vs limit-offset)
https://github.com/nightblure/keyset-pagination-example
dependency-injection fastapi keyset-pagination postgresql sqlalchemy testcontainers
Last synced: 13 days ago
JSON representation
Keyset pagination example (comparison vs limit-offset)
- Host: GitHub
- URL: https://github.com/nightblure/keyset-pagination-example
- Owner: nightblure
- Created: 2024-12-19T21:56:06.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2024-12-19T22:01:41.000Z (23 days ago)
- Last Synced: 2024-12-19T23:17:43.724Z (23 days ago)
- Topics: dependency-injection, fastapi, keyset-pagination, postgresql, sqlalchemy, testcontainers
- Language: Python
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Keyset pagination example
## Install dependencies:
```bash
make deps
```## Request for offset example:
```
http://0.0.0.0:8000/offset-example?page_size=100&offset=1900000
```## Request for keyset example:
```
http://0.0.0.0:8000/keyset-example?page_size=100&last_item_sorting_value=2020-12-22T16:42:58.003807
```