admin管理员组

文章数量:1333437

in paranoid table, Can I merge these two queries into one

  await activeSubscription.update({
    subscriptionStatus: constants.SUBSCRIPTION_STATUS.CANCELLED
  });

  await activeSubscription.destroy(); 

Basically I want to also set the status as cancelled, at the time of deleting the subscription.

本文标签: sequelizejsSequalize Update a column on soft deleteStack Overflow