radmen / adonis-lucid-soft-deletes

Experimental implementation of soft-deletes for Adonis Lucid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bulk delete doesn't work

LordZombi opened this issue · comments

commented

Hello, this case will delete row instead of setting deleted_at

await Product
  .query()
  .whereIn('id', productsToRemove)
  .delete()

Thank you, I'll take a look at it.

@LordZombi I've pushed v0.1.1 to NPM.