Manage duplicate subdocuments in mongoDB using mongoose

后端 未结 0 1862
心在旅途
心在旅途 2021-02-08 19:06

Have 2 models.

  1. User
  2. Plants

End user should be able to add multiple quantities of same plant. My User model is:-

const mongoose = requi

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