[iOS sql数据库] 根据多个条件update数据

来源:互联网 发布:股票提醒软件 换手率 编辑:程序博客网 时间:2024/05/17 22:55

命令的关键是

@"update mqttlist set isRead = '1' where uid = '%@' and indexCount = '%@'"
"update 表名 set 字段A = '1' where 字段B = '%@' and 字段C = '%@'"

空格+and+空格

原创粉丝点击