Hello Prisma, Is there any way to exclude the rela...
# orm-help
a
Hello Prisma, Is there any way to exclude the relation name but get the content inside it? Like here
traineeUser
is also coming with the data but i want to include its content. Idk if i am missing anything here!?
r
@Ankit Singh 👋 That’s not possible directly as the structure returned by Prisma will be similar to how you have modelled the relationships. If you just need just the data, then you would need to extract it in application code itself.
1
a
Thank you for the clarification
👍 1