DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
not all arguments converted during string formatting postgresql
cursor.execute(query, (id,)) #You need to add ,(comma) after the first parameter
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#arguments
#converted
#string
#formatting
#postgresql
ADD COMMENT
Topic
COMMENT
Name
6+6 =
Submit