2021-09-23 22:59:12 +03:00
|
|
|
description: The explained Postgres query in our documentation
|
|
|
|
url: /v1/graphql/explain
|
|
|
|
status: 200
|
|
|
|
response:
|
|
|
|
- field: user
|
2022-07-22 18:27:42 +03:00
|
|
|
sql: "SELECT coalesce(json_agg(\"root\" ), '[]' ) AS \"root\" FROM (SELECT row_to_json((SELECT\
|
|
|
|
\ \"_e\" FROM (SELECT \"_root.base\".\"name\" AS \"name\" ) AS \"_e\"\
|
|
|
|
\ ) ) AS \"root\" FROM (SELECT * FROM \"public\".\"user\" WHERE ('true')\
|
|
|
|
\ ) AS \"_root.base\" ) AS \"_root\" "
|
2021-09-23 22:59:12 +03:00
|
|
|
plan:
|
2022-07-22 18:27:42 +03:00
|
|
|
- Aggregate (cost=40.00..40.01 rows=1 width=32)
|
2021-09-23 22:59:12 +03:00
|
|
|
- ' -> 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
|
|
|
|
}
|
|
|
|
}
|
2022-07-22 18:27:42 +03:00
|
|
|
operationName: getUsers
|