Is there a way in MySQL to reverse a boolean field with one query?

后端 未结 4 1677
故里飘歌
故里飘歌 2021-01-01 11:06

I have a column in my table titled \'authorised\'. Its default is 0. It needs to be changed to 1 when the user is authorised, but it must be able to be reset to 0. I know I

4条回答
提交回复
热议问题