graphql-engine/server/tests-py/queries/explain/simple_query_mssql.yaml
Aniket Deshpande 66f09eeaab MSSQL nodes aggregates & inherited roles
https://github.com/hasura/graphql-engine-mono/pull/1293

Co-authored-by: Chris Done <11019+chrisdone@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
GitOrigin-RevId: 776402dbbaf3d8166a62b1aaaf6abc7e584b3eb2
2021-07-08 20:50:09 +00:00

22 lines
436 B
YAML

description: Explain query
url: /v1/graphql/explain
status: 200
response:
- field: user
sql: |-
SELECT ISNULL((SELECT [t_user1].[id] AS [id],
[t_user1].[name] AS [name],
[t_user1].[age] AS [age]
FROM [dbo].[user] AS [t_user1]
FOR JSON PATH, INCLUDE_NULL_VALUES), '[]')
query:
query:
query: |
query {
user{
id
name
age
}
}