You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
N+1 problem with a remote schema in a Hasura implementation. Specifically, a remote relationship is defined between a local table(employee) and a remote table (employeelanguages). The sample below causes multiple individual requests to the remote schema instead of a single batched request:
query Employee {
employee {
name
employeelanguages {
id
name
}
}
Describe the solution you'd like
Make one SQL query to the employeelanguages instead of multiple queries.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered:
Batch remote schema requests into one sql request
N+1 problem with a remote schema in a Hasura implementation. Specifically, a remote relationship is defined between a local table(employee) and a remote table (employeelanguages). The sample below causes multiple individual requests to the remote schema instead of a single batched request:
Describe the solution you'd like
Make one SQL query to the employeelanguages instead of multiple queries.
Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: