Skip to content

Conversation

@mrmeghana
Copy link
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({});
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