greenDAO icon indicating copy to clipboard operation
greenDAO copied to clipboard

Call insert, save, or insertOrReplace multiple times to save multiple data, and then the problem of loadAll will

Open wangzhipeng-vicky opened this issue 4 years ago • 1 comments

多次调用insert或者save或者insertOrReplace存多条数据,然后loadAll,结果是多条数据的内容都是最后一条数据的,也就是说内容与数据库中最后插进去的那条一样

wangzhipeng-vicky avatar Mar 26 '20 10:03 wangzhipeng-vicky

Maybe a caching issue. https://greenrobot.org/greendao/documentation/sessions/

greenrobot-team avatar May 04 '20 09:05 greenrobot-team