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

Option to fetch big collections in chunks? #1485

Open
ezloj opened this issue Mar 27, 2024 · 2 comments
Open

Option to fetch big collections in chunks? #1485

ezloj opened this issue Mar 27, 2024 · 2 comments

Comments

@ezloj
Copy link

ezloj commented Mar 27, 2024

Looks like viewing a big unindexed collection causes all the documents to be scanned and returned. Is it possible to somehow fetch only the first X documents by using some mongo express option? If not, can such option be added?

@xTudoS
Copy link
Contributor

xTudoS commented Mar 27, 2024

I'll take a look on it

@xTudoS
Copy link
Contributor

xTudoS commented Mar 27, 2024

@ezloj what version are using? would you mind in share a collection to simulate your problem?
I was looking in the project and mongoexpress already paginate queries correctly.

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