mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
15ac52ded4
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 |
||
---|---|---|
.. | ||
.yarn/releases | ||
docs | ||
public | ||
scripts | ||
src | ||
static | ||
wiki | ||
.dockerignore | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
.yarnrc.yml | ||
babel.config.js | ||
CODESPACES.md | ||
CONTRIBUTING.md | ||
cspell.config.yaml | ||
Dockerfile | ||
docusaurus.config.js | ||
package-lock.json | ||
package.json | ||
preview_cloud_build.yaml | ||
README.md | ||
sidebars.js | ||
sidebarsWiki.js | ||
spell_add.sh | ||
spell_check.sh | ||
tsconfig.json | ||
yarn.lock |
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.