There is a field show which is a boolean type in postgesql.
I want to write a sql to update that table, to toggle the value of show. If it's true, it becomes false, if it's false, it becomes true.
Is it possible?
|
There is a field I want to write a sql to update that table, to toggle the value of show. If it's Is it possible? |
|||
|
|
|
This will do:
|
|||||||||
|