mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 13:02:11 +03:00
1843ee7b0b
https://github.com/hasura/graphql-engine-mono/pull/2239 Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com> Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com> GitOrigin-RevId: fabc825239950b11d673cfd33e8075a01409bcf6
20 lines
628 B
YAML
20 lines
628 B
YAML
description: Explain query with limit
|
|
url: /v1/graphql/explain
|
|
status: 200
|
|
query:
|
|
query:
|
|
query: |
|
|
query {
|
|
article(limit: 2){
|
|
id
|
|
title
|
|
content
|
|
}
|
|
}
|
|
response:
|
|
- field: article
|
|
sql: 'SELECT coalesce(json_agg("root" ), ''[]'' ) AS "root" FROM (SELECT row_to_json((SELECT "_1_e" FROM (SELECT "_0_root.base"."id"
|
|
AS "id", "_0_root.base"."title" AS "title", "_0_root.base"."content" AS "content" )
|
|
AS "_1_e" ) ) AS "root" FROM (SELECT * FROM "public"."article" WHERE
|
|
(''true'') LIMIT 2 ) AS "_0_root.base" ) AS "_2_root" '
|