Python Mysql 如何 update 将某字段的值设为Null?而不是直接将字符串NULL或NOne写到mysql里面。
1条回答 默认 最新
storm_huang 2021-10-21 11:04关注执行的sql处理就可以了,如:
update table set field = null where id=1解决 无用评论 打赏 举报
Python Mysql 如何 update 将某字段的值设为Null?而不是直接将字符串NULL或NOne写到mysql里面。
执行的sql处理就可以了,如:
update table set field = null where id=1