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

Collection cursor has no field limits and will fetch entire documents #97

Open
salmanhasni opened this issue May 8, 2023 · 2 comments

Comments

@salmanhasni
Copy link
Contributor

Meteor 2.7 version has replaced have "field" with "projection" key in _cursorDescription.options, which cause the error
publish-counts: Collection cursor has no field limits and will fetch entire documents. consider specifying only required fields
if countFromFieldLength method is used to get the count from the document field,

@salmanhasni
Copy link
Contributor Author

#98

@roblingle
Copy link

Confirming that making the change above fixes the problem

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