Hey,
When dealing with n+1 problem-like environments (like graphql), are there any use cases where using include is beneficial over findUnique + fluent api? They both apparently result in the same number of queries, but the fluent api is more decoupled
r
Ryan
10/04/2021, 9:51 AM
If you have specific filters that need to be done on the parent, then
include
would be better as you can directly return the filtered response.