Skip to content

Fixes issue of invalid SQL syntax if there is only one id in the tuple#95

Merged
DaeronAlagos merged 1 commit intoremove-custom-frequencyfrom
mobile-fav-sql-syntax
Nov 28, 2019
Merged

Fixes issue of invalid SQL syntax if there is only one id in the tuple#95
DaeronAlagos merged 1 commit intoremove-custom-frequencyfrom
mobile-fav-sql-syntax

Conversation

@DaeronAlagos
Copy link
Copy Markdown
Contributor

Using tuple() as part of the string formatting produces a trailing comma when there is only one id. This changes tuple() to join() to produce valid SQL syntax.

Using tuple() as part of the string formatting produces a trailing comma when there is only one id. This changes tuple() to join() to produce valid SQL syntax.
@DaeronAlagos DaeronAlagos merged commit 4e09fb1 into remove-custom-frequency Nov 28, 2019
@DaeronAlagos DaeronAlagos deleted the mobile-fav-sql-syntax branch November 28, 2019 09:04
@DaeronAlagos DaeronAlagos restored the mobile-fav-sql-syntax branch November 28, 2019 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants