📜  在 sequelize 中强制删除 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:55.497000             🧑  作者: Mango

代码示例1
await Post.destroy({
  where: {
    id: 1
  },
  force: true
});
// DELETE FROM "posts" WHERE "id" = 1