Try out Relationship Queries
Let's explore the GraphQL APIs for the relationship created.
query {todos {idtitleuser {idname}}}
You can see the response in the following format:
As you can see, in the same response, you are getting the results for the user's information, exactly like you queried. This is an example of a one-to-one query/object relationship.
Did you find this page helpful?
Start with GraphQL on Hasura for Free
- Build apps and APIs 10x faster
- Built-in authorization and caching
- 8x more performant than hand-rolled APIs