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

前台分页需查询总数是用哪个方法?目前用的countDocuments()查询耗时太长了 #32

Open
summers8 opened this issue Aug 1, 2023 · 0 comments

Comments

@summers8
Copy link

summers8 commented Aug 1, 2023

查询总数是用这个吗?countDocuments(),600多万的数据查询总数要8s+的时间,还是说不是用这个方法来查询总数
image

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

No branches or pull requests

1 participant