-
-
Notifications
You must be signed in to change notification settings - Fork 642
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
Bulk put puts duplicate objects into DB even if they share an ID #2012
Labels
Comments
Similar to #2011. Bug is in the liveQuery cache. To workaround, create Dexie with cache disabled: const db = new Dexie('dbName', { cache: 'disabled' }); |
Thanks! I will close since this is a dupe. |
dfahlander
added a commit
that referenced
this issue
Jul 9, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using dexie
bulkPut
withuseLiveQuery
and in version4.0.7
we are putting duplicate items into the dexie DB.I forked a codesandbox that was using 3.2.2 and this was not an issue. I updated Dexie to 4.0.7 and you can see it creates multiple items by pressing
Add Friend
even though they share an id.https://codesandbox.io/p/sandbox/eloquent-dirac-lhrmcm
Steps to reproduce:
Is this expected behavior?
The text was updated successfully, but these errors were encountered: