We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
根据 mongodb 类型声明文件,由于 无法统计准确计数,count 方法已经弃用,建议同步更新为 countDocument
count
countDocument
NOTE: This method has been deprecated, since it does not provide an accurate count of the documents
NOTE:
This method has been deprecated, since it does not provide an accurate count of the documents
The text was updated successfully, but these errors were encountered:
countDocument 会遍历所有符合条件的文档,在统计表内行数时会产生严重的性能问题。
Sorry, something went wrong.
另有 estimatedDocumentCount 方法可供使用
estimatedDocumentCount
我们欢迎您提出 Pull Request。
No branches or pull requests
根据 mongodb 类型声明文件,由于 无法统计准确计数,
count
方法已经弃用,建议同步更新为countDocument
The text was updated successfully, but these errors were encountered: