mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-30 19:06:41 +03:00
ee15c804bc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5080 GitOrigin-RevId: 58e5e6aab136617d1bbfc6621c89942da358b04d
26 lines
813 B
YAML
26 lines
813 B
YAML
description: Explain query
|
|
url: /v1/graphql/explain
|
|
status: 200
|
|
response:
|
|
- field: user
|
|
sql: "SELECT coalesce(json_agg(\"root\" ), '[]' ) AS \"root\" FROM (SELECT row_to_json((SELECT\
|
|
\ \"_e\" FROM (SELECT \"_root.base\".\"id\" AS \"id\", \"_root.base\".\"name\"\
|
|
\ AS \"name\", \"_root.base\".\"age\" AS \"age\" ) AS \"_e\" ) ) AS\
|
|
\ \"root\" FROM (SELECT * FROM \"public\".\"user\" WHERE ('true') ) AS\
|
|
\ \"_root.base\" ) AS \"_root\" "
|
|
plan:
|
|
- Aggregate (cost=40.00..40.01 rows=1 width=32)
|
|
- ' -> Seq Scan on "user" (cost=0.00..22.00 rows=1200 width=40)'
|
|
- ' SubPlan 1'
|
|
- ' -> Result (cost=0.00..0.01 rows=1 width=32)'
|
|
query:
|
|
query:
|
|
query: |
|
|
query {
|
|
user{
|
|
id
|
|
name
|
|
age
|
|
}
|
|
}
|