Why multiple inner SQL queries are executed on List Items with relations? #6575
Locked
MurzNN
announced in
Event Q&A Q3 2021
Replies: 2 comments 3 replies
-
Fixed. See #6035 |
Beta Was this translation helpful? Give feedback.
1 reply
This comment has been hidden.
This comment has been hidden.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In this issue #6035 there is an example of Items query with relations, that executes separate query for each relation field on resulted item:
Queries log:
Is there any way to optimize this query to execute only one subquery, or this is a Prisma limitation or other reasons?
Beta Was this translation helpful? Give feedback.
All reactions