You can also use a VIEW.
How does GraphQL make sure to respect table indexes? If not you get a super slow query.
How does GraphQL make sure to respect table indexes? If not you get a super slow query.
You can get the same problems with GraphQL or stored procedures too of course, if the queries are not optimized correctly