mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 01:44:03 +03:00
109a0beca8
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3655 GitOrigin-RevId: 6e0aed6e96b2995af11366676fa9c453bb44a7aa
25 lines
860 B
YAML
25 lines
860 B
YAML
description: The explained MSSQL query in our documentation
|
|
url: /v1/graphql/explain
|
|
status: 200
|
|
response:
|
|
- field: user
|
|
sql: "SELECT ISNULL((SELECT [t_user1].[name] AS [name]\n FROM [dbo].[user]\
|
|
\ AS [t_user1]\n FOR JSON PATH, INCLUDE_NULL_VALUES), (N''+NCHAR(91)+''+NCHAR(93)+''))\
|
|
\ AS [root]"
|
|
plan:
|
|
- "SELECT ISNULL((SELECT [t_user1].[name] AS [name]\nFROM [dbo].[user] AS [t_user1]\n\
|
|
FOR JSON PATH, INCLUDE_NULL_VALUES), '[]')"
|
|
- " |--Compute Scalar(DEFINE:([Expr1003]=isnull([Expr1001],CONVERT_IMPLICIT(nvarchar(max),'[]',0))))"
|
|
- ' |--UDX(([t_user1].[name]))'
|
|
- ' |--Clustered Index Scan(OBJECT:([master].[dbo].[user].[PK__user__3213E83F04195C1B]
|
|
AS [t_user1]))'
|
|
query:
|
|
query:
|
|
query: |
|
|
query getUsers {
|
|
user {
|
|
name
|
|
}
|
|
}
|
|
operationName: getUsers
|