-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: EXPOSED-257 Upsert incorrectly parameterizes non-literal WHERE a…
…rguments (#1965) * fix: EXPOSED-257 Upsert incorectly parameterizes non-literal WHERE arguments Currently when using upsert() with a where argument, only literal values generate valid SQL. Attempting to use a value with a param() wrapper or the plain native type results in an exception that the parameter count is incorrect. This occurs because the where arguments were not correctly added to the list of statement arguments in the super class, so an override has now been included in UpsertStatement directly.
- Loading branch information
Showing
4 changed files
with
51 additions
and
2 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
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