I want to run sql command only once for update column..
UPDATE article SET published = '1 OR 0' WHERE id = '1'
In above command "1 OR 0" is mean;
If article's published column is 1/true, set 0/false.. If published is 0/false, set 1/true..
What can i do?
Thanks for help..