Y
Hacker News
new
|
ask
|
show
|
jobs
by
quaffapint
1954 days ago
You could just setup the CASCADE in the DB and it will handle cascading deletes. They have docs on it...
https://www.prisma.io/docs/guides/general-guides/database-wo...