Unique in mongoose not work for second field

前端 未结 0 614
情话喂你
情话喂你 2020-11-29 18:52

i use mongodb and mongoose for my data base.
but when i use unique: true for the second time in same Schema its not work

const User = n         


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