## GQL ## [query](https://graphql-kr.github.io/learn/queries/) ### 1. 필드 ### 2. 인자 어떠한 데이터의 조건(`where`) <table> <td> ```graphql { human(id : '1000') { name height } } ``` </td> <td> ```graphql { "data": { "human": { "name": "Luke Skywalker", "height": 1.72 } } } ``` </td> </table> ### 3. 별칭 필드값을 원하는 형태로 변경 가능 <table> <td> ```graphql { empireHero: hero(episode: EMPIRE) { name } jediHero: hero(episode: JEDI) { name } } ``` </td> <td> ```graphql { "data": { "empireHero": { "name": "Luke Skywalker" }, "jediHero": { "name": "R2-D2" } } } ``` </td> </table>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up