mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-05 22:34:22 +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 |
||
---|---|---|
.. | ||
benchmarks | ||
documentation | ||
forks/hedis | ||
lib | ||
src-emit-metadata-openapi | ||
src-exec | ||
src-lib | ||
src-rsr | ||
src-test | ||
test-manual | ||
test-mssql | ||
test-postgres | ||
tests-py | ||
.dockerignore | ||
.gitignore | ||
.ormolu | ||
commit_diff.txt | ||
COMPILING-ON-MACOS.md | ||
CONTRIBUTING.md | ||
graphql-engine.cabal | ||
Makefile | ||
STYLE.md | ||
testing-guidelines.md | ||
troubleshooting.md | ||
VERSIONS.json |