Prisma1: Support cascading delete with deleteMany

Created on 19 Feb 2018  路  10Comments  路  Source: prisma/prisma1

Current behavior
Currently cascade delete don't work with deleteManyTYPE only with deleteTYPE

Reproduction
Just create relation with onDelete: CASCADE and run mutation deleteManyTYPE

Expected behavior?
Cascade delete work with both deleteManyTYPE and deleteTYPE

kinfeature

Most helpful comment

Still waiting for...

All 10 comments

Still waiting for...

@marktani - Is there an ETA on this feature?

@marktani any updates? :)

I stumbled upon this issue by running into the "The change you are trying to make would violate the required relation" error, would love to see support for this!

Any progress on this?

Is there any progress on this?

In the mean time does anyone know of a sensible work around? This is a huge blocker for me 馃槥

Waiting for this one, would be useful in our production.

We really need help on features like these (and basic text search).

3796

For the SQL connectors cascading delete support for deleteMany and nestedDeleteMany will go into beta today.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marktani picture marktani  路  41Comments

mcmar picture mcmar  路  57Comments

marktani picture marktani  路  48Comments

schickling picture schickling  路  44Comments

marktani picture marktani  路  71Comments