graphql-engine/server/tests-py/queries/explain/simple_query_mysql.yaml
Sibi Prabakaran 9f35e660c0 server/mysql: Implement MySQL explain API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2367
Co-authored-by: Chris Done <11019+chrisdone@users.noreply.github.com>
Co-authored-by: Aniket Deshpande <922486+aniketd@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
GitOrigin-RevId: 701c84a1ca5e4ab73a229a804381a7f5281090f1
2021-10-23 11:43:25 +00:00

18 lines
349 B
YAML

description: Explain query
url: /v1/graphql/explain
status: 200
response:
- field: user
sql: |-
SELECT t_user1.id AS id,"\n "t_user1.name AS name,"\n "t_user1.age AS age"\n"FROM hasura.user AS t_user1
query:
query:
query: |
query {
hasura_user{
id
name
age
}
}