It would be good to be able to setup soft delete cascades, either through the existing Prisma schema cascades or through a custom API.
Due to the nature of nested operations it probably won't be possible to produce single queries that do this, however some will be able to. In the cases where it is simply not possible to do with a single query a second operation and a transaction will probably be needed.
It would be good to be able to setup soft delete cascades, either through the existing Prisma schema cascades or through a custom API.
Due to the nature of nested operations it probably won't be possible to produce single queries that do this, however some will be able to. In the cases where it is simply not possible to do with a single query a second operation and a transaction will probably be needed.
This was requested in the soft delete Prisma issue