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

feat(collection): uses projection, added on find #304

Merged

Conversation

thisguymartin
Copy link
Contributor

Updated collection.find() to advice users to no longer use fields as it has been deprecated in favor of projection. This field was added to mongo driver 2.2.

resolves: #303

@codecov-io
Copy link

codecov-io commented Apr 28, 2020

Codecov Report

Merging #304 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #304   +/-   ##
=======================================
  Coverage   93.95%   93.95%           
=======================================
  Files           6        6           
  Lines         397      397           
=======================================
  Hits          373      373           
  Misses         24       24           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94320c6...135a797. Read the comment docs.

@thisguymartin thisguymartin marked this pull request as ready for review April 28, 2020 00:38
Copy link
Collaborator

@mathieudutour mathieudutour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🙏

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

Successfully merging this pull request may close these issues.

Collection docs reference deprecated fields option
3 participants