How should I check if objectId with a certain name exists in mongoDB

后端 未结 0 1425
感动是毒
感动是毒 2021-02-13 16:13

Just started with MongoDB and I have a problem. I have a User, a user can have an Account. I don\'t want to allow the user to have two accounts with the same name. But I dont wa

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