2021-09-23 22:59:12 +03:00
|
|
|
description: The explained MSSQL query in our documentation
|
|
|
|
url: /v1/graphql/explain
|
|
|
|
status: 200
|
|
|
|
response:
|
|
|
|
- field: user
|
2022-02-21 11:52:05 +03:00
|
|
|
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]"
|
2021-09-23 22:59:12 +03:00
|
|
|
plan:
|
2022-02-21 11:52:05 +03:00
|
|
|
- "SELECT ISNULL((SELECT [t_user1].[name] AS [name]\nFROM [dbo].[user] AS [t_user1]\n\
|
|
|
|
FOR JSON PATH, INCLUDE_NULL_VALUES), '[]')"
|
2021-09-23 22:59:12 +03:00
|
|
|
- " |--Compute Scalar(DEFINE:([Expr1003]=isnull([Expr1001],CONVERT_IMPLICIT(nvarchar(max),'[]',0))))"
|
|
|
|
- ' |--UDX(([t_user1].[name]))'
|
2022-02-21 11:52:05 +03:00
|
|
|
- ' |--Clustered Index Scan(OBJECT:([master].[dbo].[user].[PK__user__3213E83F04195C1B]
|
|
|
|
AS [t_user1]))'
|
2021-09-23 22:59:12 +03:00
|
|
|
query:
|
|
|
|
query:
|
|
|
|
query: |
|
|
|
|
query getUsers {
|
|
|
|
user {
|
|
|
|
name
|
|
|
|
}
|
|
|
|
}
|
2022-02-21 11:52:05 +03:00
|
|
|
operationName: getUsers
|