MongoDB/Mongoose whats the best way to count a lot of documents with a filter?

前端 未结 0 764
礼貌的吻别
礼貌的吻别 2020-12-06 01:16

I understand that estimatedDocumentCount() uses metadata to count, which makes it faster when there are a lot of documents. But the drawback is that you cant ad

相关标签:
回答
  • 消灭零回复
提交回复
热议问题