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

Paginate Plugin Not updated #106

Open
Salman9000 opened this issue Apr 29, 2021 · 1 comment
Open

Paginate Plugin Not updated #106

Salman9000 opened this issue Apr 29, 2021 · 1 comment

Comments

@Salman9000
Copy link

Paginate plugin is not using the latest version https://www.npmjs.com/package/mongoose-paginate-v2. Because of that: select and populate are not working.

@hagopj13
Copy link
Owner

hagopj13 commented May 5, 2021

@Salman9000 paginate is actually using a custom mongoose plugin, which you can find here: src/models/plugins/paginate.plugin.js

populate is already supported (README file is missing that information, and I will add it). If you need it now, you can check the comments in: https://github.com/hagopj13/node-express-boilerplate/blob/master/src/models/plugins/paginate.plugin.js

select is not supported yet but that can be added to the plugin. Would you like to do a PR for that?

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

2 participants