feat: add pages computed field to OffsetPagination schema (#159)

This commit is contained in:
d3vyce
2026-03-21 15:24:11 +01:00
committed by GitHub
parent f8c9bf69fe
commit f0223ebde4
4 changed files with 77 additions and 2 deletions

View File

@@ -182,6 +182,7 @@ The [`offset_paginate`](../reference/crud.md#fastapi_toolsets.crud.factory.Async
"data": ["..."],
"pagination": {
"total_count": 100,
"pages": 5,
"page": 1,
"items_per_page": 20,
"has_more": true