KyselyK
Kysely3y ago
4 replies
autism

Deleting multiple rows at once

I have a question, if I have like
await db
  .deleteFrom('person')
  .where('groupId', '=', id)
  .execute();

would that delete ALL persons that have that groupId, or just one of them?
Was this page helpful?