-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support reusing named parameters (#240)
Named parameters that occurred multiple times in the SQL string had to be added to the list of arguments multiple times, even if these were given as named arguments. This fix allows queries that use named parameters to accept only one occurence of the named parameter. This also clarifies the use of named parameters and positional parameters, and that mixing named parameters with positional arguments is not a good idea. Based on the issue reported in #237
- Loading branch information
Showing
3 changed files
with
152 additions
and
9 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