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

docs(count): more explicit documentation that count is deprecated #2152

Merged
merged 1 commit into from Oct 7, 2019

Conversation

daprahamian
Copy link
Contributor

Description

Adds explicit docs that count is deprecated, with instructions
to use estimatedDocumentCount or countDocuments instead.

Fixes NODE-2224

What it looks like:

Screen Shot 2019-10-03 at 3 16 08 PM

If this is approved, it needs to be backported to the documentation for 3.2 and 3.1

What changed?
Documentation for Collection#count

Are there any files to ignore?
No

Adds explicit docs that count is deprecated, with instructions
to use estimatedDocumentCount or countDocuments instead.

Fixes NDOE-2224
Copy link
Member

@mbroadst mbroadst left a comment

Choose a reason for hiding this comment

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

Looks great

@daprahamian daprahamian merged commit bbb1762 into next Oct 7, 2019
@daprahamian daprahamian deleted the NODE-2224/count branch October 7, 2019 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants