graphql-engine/docs
Samir Talwar 15ac52ded4 server: Fix the Analyze feature for SQL Server.
The "Analyze" feature for SQL Server only partially worked. It would show the SQL generated, but not the execution plan. This is because SQL Server doesn't support generating a plan for prepared statements with parameters.

To work around this, we restructure the query as one without parameters. Instead, we replace each parameter with a variable. We declare the variables but don't set values. We then plan _that_, which works.

We run all this in a single query because local variables only last for a single transaction/batch.

This feature does not work for stored procedures.

[NDAT-582]: https://hasurahq.atlassian.net/browse/NDAT-582?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10125
GitOrigin-RevId: a4b45b9b207456ff4fbd1b69b008e93f87346342
2023-08-17 12:51:57 +00:00
..
.yarn/releases Updates Docusaurus to 2.1 2022-11-18 16:02:38 +00:00
docs server: Fix the Analyze feature for SQL Server. 2023-08-17 12:51:57 +00:00
public docs: move docs-new to docs 2022-04-13 12:01:50 +00:00
scripts docs: epic restructure 2022-07-20 16:36:00 +00:00
src Docs: Add AI Chatbot 2023-08-04 15:00:36 +00:00
static docs: add alerting subdir for cloud monitoring 2023-08-09 10:08:33 +00:00
wiki docs: add prettier 2023-07-21 12:52:40 +00:00
.dockerignore Build configs for preview builds through GKE 2022-11-23 14:18:37 +00:00
.gitignore docs: add spellchecking 2023-01-17 10:32:11 +00:00
.prettierignore docs: resolve prettier issues 2023-08-01 18:01:46 +00:00
.prettierrc.json docs: optimize code elements inside tables 2023-02-02 20:00:42 +00:00
.yarnrc.yml Updates Docusaurus to 2.1 2022-11-18 16:02:38 +00:00
babel.config.js docs: move docs-new to docs 2022-04-13 12:01:50 +00:00
CODESPACES.md docs: add docs devcontainer 2022-12-16 17:39:29 +00:00
CONTRIBUTING.md docs: capitalize hasura features 2022-12-19 20:03:55 +00:00
cspell.config.yaml docs: EE console SSO troubleshooting and improvements 2023-07-05 14:20:22 +00:00
Dockerfile Build configs for preview builds through GKE 2022-11-23 14:18:37 +00:00
docusaurus.config.js Docs: Add AI Chatbot 2023-08-04 15:00:36 +00:00
package-lock.json docs: add import from openAPI doc 2022-12-15 18:39:56 +00:00
package.json docs: add prettier 2023-07-21 12:52:40 +00:00
preview_cloud_build.yaml Build configs for preview builds through GKE 2022-11-23 14:18:37 +00:00
README.md Fix broken links 2022-10-26 14:22:19 +00:00
sidebars.js docs: add prettier 2023-07-21 12:52:40 +00:00
sidebarsWiki.js docs: add prettier 2023-07-21 12:52:40 +00:00
spell_add.sh docs: add spellchecking 2023-01-17 10:32:11 +00:00
spell_check.sh docs: add spellchecking 2023-01-17 10:32:11 +00:00
tsconfig.json docs: move docs-new to docs 2022-04-13 12:01:50 +00:00
yarn.lock docs: add prettier 2023-07-21 12:52:40 +00:00

README.md

Info

The most up-to-date information for the docs site can be found on our wiki. You can access the wiki on the live docs site, or directly within this repository.