li6185377 / LKDBHelper-SQLite-ORM

全自动的插入,查询,更新,删除, an automatic database operation thread-safe and not afraid of recursive deadlock
MIT License
1.21k stars 288 forks source link

NSObject+LKModel.m 428行有个判断是不是写错了? #72

Closed iwill closed 8 years ago

iwill commented 8 years ago

NSObject+LKModel.m 428行 有个判断是不是写错了?

if (model.db_inserting == NO && [clazz getModelInfos] > 0) ....

[clazz getModelInfos] 方法返回值类型是 LKModelInfos *,这里拿来和 0 比较大小。

li6185377 commented 8 years ago

cool~ 已改, thanks