Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Paginated Database Query with Schema and Total Count #535

Open
FredericoIsaac opened this issue Sep 1, 2023 · 0 comments
Open

Comments

@FredericoIsaac
Copy link

Problem Statement:
Currently, our application lacks the functionality to paginate database queries with skip and limit while also returning the schema of the queried table and the total count of records matching the query. This feature is essential for improving the user experience and providing a more comprehensive response to API clients.

The API response should include the following components:

Data: The paginated records based on the provided skip and limit parameters.
Schema: The schema or structure of the queried table to help clients understand the data.
Total Count: The total count of records that match the query, regardless of pagination.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant