litesuits / android-lite-orm

LiteOrm is a fast, small, powerful ORM framework for Android. LiteOrm makes you do CRUD operarions on SQLite database with a sigle line of code efficiently.
http://litesuits.com?form=gorm
Apache License 2.0
1.49k stars 362 forks source link

无法更新数据失败 #28

Closed Ludejin closed 8 years ago

Ludejin commented 8 years ago

mUserInfo.setIsCurrUser("0"); Log.i("主键",mUserInfo.getId() + ""); ColumnsValue cv = new ColumnsValue(new String[]{"is_curr"}); mLiteOrm.update(mUserInfo, cv, ConflictAlgorithm.None);

这里mUserInfo所有数据正常,主键也存在 image

where条件的主键一直是空

ervinsae commented 7 years ago

这个怎么解决的 只要是级联的表 update的就有问题