How to amend code to also return countDocuments()

后端 未结 0 1771
执念已碎
执念已碎 2020-12-13 03:52

I am working with a mongoose node.js restAPI codebase and the mongodb heavy lifting, paging etc is all done via the two files below.

I also need to get a count of the

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