How to have, list of Objects that only one of them can has “isDefault” property true

后端 未结 0 935
醉梦人生
醉梦人生 2021-01-31 18:45

I create a web application with MERN, I have problem in one section of app flow, I have a Restaurant schema like below code that has a "bankAccount" property which is

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