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

Does it have incremental subscription? #3

Open
nadeemja opened this issue Nov 12, 2015 · 1 comment
Open

Does it have incremental subscription? #3

nadeemja opened this issue Nov 12, 2015 · 1 comment

Comments

@nadeemja
Copy link

Hi,

Does this subscribe to an entire collection at once, or does it do it incrementally (per page)?

Just wondering if this will scale for very large collections.

@tsega
Copy link
Owner

tsega commented Nov 16, 2015

@nadeemja if you look at the code in the Paginator Class, yes I can say that because I'm using ES6; you will see that the fetch() is only called after skipping and limiting the collection entries. This should mean that it will scale for large collections provided proper indexing is done on MongoDB.

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