Is there a function is MySQL that automatically UPDATE
s the value to the opposite one (something like ! NOT
operator in php), without fetching the data, changing the value and inserting it again.
Also, if this helps, i need it only for zeroes
and ones
if there is any other, simpler way.
!0 = 1
!1 = 0