Answer the question
In order to leave comments, you need to log in
How to enter data with '?
Hello everyone, I ran into such a problem that I can’t enter the Piter dog's line because there is a sign '
The dogs column has a text data type
cur.execute(f'insert into test(dogs, status) values("Piter dog's", True);')
Error:
Command raised an exception: UndefinedColumn: column "Piter dog's" does not exist
Answer the question
In order to leave comments, you need to log in
The question is closed.
I just made a function that changes ' to ''
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question