Is there a way for Sequelize to check if a row exists in the table, before initiating a delete action?

前端 未结 0 1477
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 16:36

I\'m using Sequelize ORM with NodeJS, Express & Postgres to setup CRUD APIs. My delete route\'s logic looks like this:

app.delete(\'/deleteus         


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