mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
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 |
||
---|---|---|
.. | ||
coalesce_run_sql | ||
containers | ||
edit-pg-dump | ||
ekg | ||
make | ||
bigquery.sh | ||
cabal-freeze-update.sh | ||
cabal-run.sh | ||
cleanup-bigquery.js | ||
cleanup-bigquery.sh | ||
data-sources-util.sh | ||
dev.sh | ||
dump-remote-schema.js | ||
extract-notes.sh | ||
generate_brand_assets_readme.sh | ||
get-version.sh | ||
hoogle.sh | ||
parse-pytest-backend | ||
performance_report.sh | ||
post-release.sh | ||
probe-pg-compatibility.sh | ||
tag-release.sh | ||
verify-bigquery-creds.sh |