mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 04:51:35 +03:00
f1daabab04
https://github.com/hasura/graphql-engine-mono/pull/2352 Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> GitOrigin-RevId: f9f5d1157524afbe418ba0ca3e3e1d6258eaf9e3
21 lines
778 B
YAML
21 lines
778 B
YAML
description: The explained Postgres query in our documentation
|
|
url: /v1/graphql/explain
|
|
status: 200
|
|
response:
|
|
- field: user
|
|
sql: "SELECT coalesce(json_agg(\"root\" ), '[]' ) AS \"root\" FROM (SELECT row_to_json((SELECT \"_1_e\" FROM (SELECT \"_0_root.base\".\"name\" AS \"name\" ) AS \"_1_e\" ) ) AS \"root\" FROM (SELECT * FROM \"public\".\"user\" WHERE ('true') ) AS \"_0_root.base\" ) AS \"_2_root\" "
|
|
plan:
|
|
- 'Aggregate (cost=40.00..40.01 rows=1 width=32)'
|
|
- ' -> Seq Scan on "user" (cost=0.00..22.00 rows=1200 width=32)'
|
|
- ' SubPlan 1'
|
|
- ' -> Result (cost=0.00..0.01 rows=1 width=32)'
|
|
query:
|
|
query:
|
|
query: |
|
|
query getUsers {
|
|
user {
|
|
name
|
|
}
|
|
}
|
|
operationName: "getUsers"
|