Nodejs - mongodb — is there a simple way to get grouping/aggregate result?

后端 未结 0 914
天涯浪人
天涯浪人 2021-02-12 19:54

I have a node/express server that makes calls to mongodb. I try to make an aggregate request, and it kind of works, but I need to use .toArray().then() to get the result, whic

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