-
Notifications
You must be signed in to change notification settings - Fork 9
feat: use query parameterization for all parameters when building Postgres queries #124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
b8f0e49
wip: convert OutputBuilder to return format.Formatted instead of string
computator aa5366c
wip: fix remaining errors from OutputBuilder return type change
computator 0083854
wip: fix some tests
computator 8bd05a1
wip: fix the rest of the tests and integration tests
computator 4449da9
chore: fix errors from merge
computator 6c90ebe
wip: add formatAsParameter
computator 98ee9a4
wip: use formatAsParameter for string values
computator 326840e
formatter extracts string literals
seanjSO e411afe
add translation cache layer support for extracted string literals
seanjSO c17cbb1
output builder materialize parameters escapes string literals instead…
seanjSO 5cc0412
strip some parameterization todos
seanjSO e92f947
update translate/expression_test for params
seanjSO 7095b26
test update sweep
seanjSO db58467
cleaning and rabbit penance
seanjSO 63a88a3
don't explicitly cast string to text when materializing parameters
seanjSO 844dcb5
add synthetic AST node for property lookup keys
seanjSO 614a58d
update tests for synthetic AST node change
seanjSO 1e08840
dawgrun flag for param materialization
seanjSO 9a90083
update pgd PropertyLookup creation
seanjSO 5e850fd
use E'...' strings for escaping
seanjSO 0c8096b
update tests for E'...'-strings escaping
seanjSO cc1abce
dawgrun's sqlfmt doesn't play nice with E'...'
seanjSO File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.