findOrCreate creating duplicate Objects

前端 未结 0 809
迷失自我
迷失自我 2020-12-03 13:53

I want to add an object to the database when it doesn\'t exist, but if it does it will be left unoperated. the following code that I made.

add(req,res){
              


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