Hey, When dealing with n+1 problem-like environmen...
# orm-help
j
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
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.
j
🙏 cheers Ryan!
🙌 1