リレーションシップクエリを試す
作成されたリレーションシップ用のGraphQL APIを見ていきましょう。
query {todos {idtitleuser {idname}}}
以下の形式で応答を確認できます。
ご覧の通り、同じ応答でクエリしたとおりにユーザー情報の結果が得られます。これは、1対1のクエリ/オブジェクトリレーションシップの一例です。
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
![Promo](/learn/ja/graphql/hasura/static/hasura-free-ff60e409244e0ea12b5a3045d1a9096b.png)
![footer illustration](https://graphql-engine-cdn.hasura.io/learn-hasura/assets/footer-img.png)