error: 🔥 error: PrismaClientUnknownRequestError2 [PrismaClientUnknownRequestError]:
Invalid `prisma.news.findMany()` invocation:
PANIC in query-engine/core/src/interpreter/query_interpreters/nested_read.rs:78:56
1
This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.
If you want the Prisma team to look into it, please open the link above 🙏
To increase the chance of success, please post your schema and a snippet of
how you used Prisma Client in the issue.
at PrismaClientFetcher.request (/Users/ultrastark/Documents/megaphone-api-v2_01/node_modules/@prisma/client/runtime/index.js:78134:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5) {
[stack]: 'Error: \n' +
'Invalid `prisma.news.findMany()` invocation:\n' +
'\n' +
'\n' +
' PANIC in query-engine/core/src/interpreter/query_interpreters/nested_read.rs:78:56\n' +
'1\n' +
'\n' +
'This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.\n'
The entities are correctly deleted if trying to delete them individually.
There seems to be a problem when trying to delete entity with multiple relations with other tables. It throws a Panic error
Here's the interested Prisma schema:
And this is the command used for deleting News entity:
The error is the following:
The entities are correctly deleted if trying to delete them individually.
Thanks.