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

Error reading from fake-indexeddb using where clause #954

Closed
stutrek opened this issue Dec 12, 2019 · 1 comment
Closed

Error reading from fake-indexeddb using where clause #954

stutrek opened this issue Dec 12, 2019 · 1 comment

Comments

@stutrek
Copy link

stutrek commented Dec 12, 2019

https://codesandbox.io/s/dexie-bug-tr8ml

This code sandbox will error with fake-indexeddb but succeed with regular indexedDB, toggle lines 15 and 16 to see it work. It happens with both 2.0.4 and 3.0.0-rc1. I don't know if the bug is in Dexie or fake-indexeddb, but I don't know how to reduce this to a simpler case to show to fake-indexeddb.

I found this while I was investigating my own code, where an anyOf(severalIds) would only get one per id, even when there were two for a specific id.

@stutrek stutrek changed the title Error reading from fake-indexeddb with where clause Error reading from fake-indexeddb using where clause Dec 12, 2019
@stutrek
Copy link
Author

stutrek commented Dec 16, 2019

It looks like this was unrelated.

@stutrek stutrek closed this as completed Dec 16, 2019
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

1 participant