How to save two mongoose documents at the same that are related to different collections (node.js, mongoose)

后端 未结 0 1638
广开言路
广开言路 2020-11-27 02:40

I have been struggling to work out how I would be able to save two related documents with mongoose and only return one error if one or both of them fail. Importantly, I can

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