Skip to content

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

Merged
mathieudutour merged 3 commits into
Automattic:masterfrom
thisguymartin:fix/updated-docs-use-projections
Apr 28, 2020
Merged

mathieudutour merged 3 commits into
Automattic:masterfrom
thisguymartin:fix/updated-docs-use-projections

Conversation

@thisguymartin

Copy link
Copy Markdown
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

codecov-io commented Apr 28, 2020 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.95%. Comparing base (94320c6) to head (135a797).
⚠️ Report is 32 commits behind head on master.

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

@mathieudutour mathieudutour left a comment

Copy link
Copy Markdown
Collaborator

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