Mongoose - how do I test if a specific document of my collection has all fields set

后端 未结 0 1393
花落未央
花落未央 2021-01-23 10:05

I have a Schema in Mongoose with all a lot of fields, but all are optional since I want to be able to partially update it. In the end of my business flow, I would like to submit

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