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

[Mega-Feat]: [Add Pagination to all Models] #400

Closed
TejasNair9977 opened this issue Oct 12, 2023 · 0 comments · Fixed by #410
Closed

[Mega-Feat]: [Add Pagination to all Models] #400

TejasNair9977 opened this issue Oct 12, 2023 · 0 comments · Fixed by #410
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Issue size: 5 Work that doesn't have reference and may take a while Models Adding a model to the model folder Priority: High Needs to be done ASAP

Comments

@TejasNair9977
Copy link
Member

Description

add a single attribute to models for pagination, called page. use the existing limit attribute to limit the amount of documents returned. take this in any form from the user, preferably as a query, like use req.query.

@TejasNair9977 TejasNair9977 added enhancement New feature or request good first issue Good for newcomers Issue size: 5 Work that doesn't have reference and may take a while Priority: High Needs to be done ASAP Models Adding a model to the model folder hacktoberfest labels Oct 12, 2023
@TejasNair9977 TejasNair9977 added this to the Functionality II milestone Oct 12, 2023
@TejasNair9977 TejasNair9977 linked a pull request Oct 15, 2023 that will close this issue
1 task
@TejasNair9977 TejasNair9977 linked a pull request Oct 15, 2023 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Issue size: 5 Work that doesn't have reference and may take a while Models Adding a model to the model folder Priority: High Needs to be done ASAP
Projects
Status: Done
2 participants