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

后端 未结 0 1258
伪装坚强ぢ
伪装坚强ぢ 2021-02-13 16:30

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

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