N Nested Relations
Hi im having trouble dealing with nested includes. I have a Comment and reply structure and replies are type Comments. Each Comment can have N replies and each reply(Comment type) can also have N replies. Prisma currently does not include support for this and I have N levels so I can't nest includes an unknown number of times. Right now I am trying a raw query but I suck at SQL and this is as far as i got.
I want my data returned like this but im not sure how to fix my query to do that.
THANK YOU!!!
I want my data returned like this but im not sure how to fix my query to do that.
THANK YOU!!!
