Why Prisma there's no a native softDelete? #21704
QuestionI'm used to handle Eloquent ORM (PHP/Laravel), and I'm missing softDelete resource os Prisma. I know this is possible using a middleware. But this is a very trivial resource. Then, why Prisma there's no a native softDelete method? How to reproduce (optional)No response Expected behavior (optional)No response Information about Prisma Schema, Client Queries and Environment (optional)No response |
Replies: 1 comment 1 reply
|
Hi @LeandroVCastro 👋 Thank you for raising this question. We do have an open feature request to add soft delete to the core of Prisma. Also, based on this comment and i quote:
We do have this in our sights but just have not prioritized it yet. If this answers your question, it would be great if you could mark this Discussion as answered to indicate that it has been resolved. Otherwise please let us know how else we can help you further or close the Discussion if it was resolved in some other way 🙏 |
Hi @LeandroVCastro 👋
Thank you for raising this question.
We do have an open feature request to add soft delete to the core of Prisma. Also, based on this comment and i quote:
We do have this in our sights but just have not prioritized it yet.
If this answers your question, it would be great if you could mark this Discussion as answered to indicate that it has been resolved.
Otherwise please let us know how else we can help …