Skip to content

Conversation

@emadum
Copy link
Contributor

@emadum emadum commented Mar 24, 2021

The estimatedDocumentCount operation now uses an aggregate command
with a $collStats stage against servers >=4.9.0 (spec).

NODE-3074

@emadum emadum force-pushed the NODE-3074/update-estimated-document-count-v1 branch from b76612f to e930b52 Compare March 26, 2021 15:31
@emadum emadum marked this pull request as ready for review March 28, 2021 18:09
@emadum emadum changed the title fix: update estimated document count for v1 api fix(NODE-3074): update estimated document count for v1 api Mar 28, 2021
@emadum emadum requested review from durran and nbbeeken March 28, 2021 18:52
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

Looks good, just a few nits:

@emadum emadum force-pushed the NODE-3074/update-estimated-document-count-v1 branch from bf0f8f0 to 9406494 Compare March 29, 2021 21:42
@emadum emadum requested a review from nbbeeken March 30, 2021 14:09
Copy link
Contributor

@nbbeeken nbbeeken left a comment

Choose a reason for hiding this comment

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

lgtm!

Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

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

LGTM

@emadum emadum merged commit 146791c into 4.0 Apr 7, 2021
@emadum emadum deleted the NODE-3074/update-estimated-document-count-v1 branch April 7, 2021 20:58
ljhaywar pushed a commit that referenced this pull request Nov 9, 2021
The estimatedDocumentCount operation now uses an aggregate command
with a $collStats stage against 5.0+ servers.
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.

3 participants