Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wangzhipeng-vicky opened this issue Mar 26, 2020 · 1 comment

Comments

@wangzhipeng-vicky
Copy link

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

@greenrobot-team greenrobot-team changed the title 多次调用insert或者save或者insertOrReplace存多条数据,然后loadAll会的问题 Call insert, save, or insertOrReplace multiple times to save multiple data, and then the problem of loadAll will May 4, 2020
@greenrobot-team
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants