Answer the question
In order to leave comments, you need to log in
How to null fields in PostgreSQL?
Good afternoon.
I am trying to reset the table fields using the command
UPDATE filters SET height_low=NULL|height_high=NULL WHERE chat_id=%s
psycopg2.ProgrammingError: column "height_low" is of type integer but expression is of type boolean
HINT: You will need to rewrite or cast the expression.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question