result = [_db executeUpdate:@"INSERT INTO CommentNotice (is_read,comment_id) VALUES (?,?)",temp[@"is_read"],temp[@"comment_id"]];
result返回YES 但是我去本地数据库看 结果没插进去这是为什么
ringa_lee2017-04-17 16:40:30
Check whether your sqlite file is under Document
Have you opened the transaction and not committed
迷茫2017-04-17 16:40:30
Copy the db from the application and take a look,
Print the value before inserting.
It’s best to test it with sql tool before writing