Object type Document returned by Mongoose not iterable

后端 未结 0 668
梦谈多话
梦谈多话 2021-02-18 13:17

I am trying to use the spread operator to return a new object with the props from the object returned by Mongoose after querying a set of documents.

resolvers.js

<

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