Skip to content

Regarding the avoidance of N+1 queries when using the combination of prismaConnection and t.relation #926

Answered by hayes
touyu asked this question in Q&A
Discussion options

You must be logged in to vote

can you upgrade prisma and pothos/plugin-prisma to the latest versions and see if your issue is resolved? I pushed a fix for optimizing nodes last week, and prisma has released my fix for optimizing findUniqueOrThrow calls, so I think this should work as expected now

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@hayes
Comment options

@hayes
Comment options

@touyu
Comment options

@hayes
Comment options

Answer selected by hayes
@touyu
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants