-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for the
in
operator with static scalar values
With this change we now mutate the parameter AST directly instead of just replacing the whole `right` chunk, which allows us to swap values from expression lists without a bunch of complex search logic. This is because the value of an `expr_list` AST fragment is a list of values that we want to substitute, and performing direct replacement of the `right` chunk creates broken SQL. Signed-off-by: Lucian Buzzo <[email protected]>
- Loading branch information
1 parent
6876957
commit 7cf7903
Showing
2 changed files
with
104 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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 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