Skip to content

Update sharding.js#7237

Merged
mrmeghana merged 3 commits into
masterfrom
mrmeghana-patch-10
Jan 30, 2026
Merged

Update sharding.js#7237
mrmeghana merged 3 commits into
masterfrom
mrmeghana-patch-10

Conversation

@mrmeghana
Copy link
Copy Markdown
Contributor

@mrmeghana mrmeghana commented Jan 29, 2026

count() is deprecated in mongo version > 6.
replaced it with countDocuments({});

count() is deprecated in mongo version > 6.
replaced it with count = countDocuments({});
@mrmeghana mrmeghana merged commit a6fe336 into master Jan 30, 2026
9 checks passed
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.

2 participants