Skip to content

store.get fails when an object doesn't exist. #1

Closed
nilclass opened this Issue Nov 14, 2012 · 1 comment

2 participants

@nilclass

According to steps for retrieving a value from an object store the result should be undefined if no record was found.
Instead I see an error [indexeddb.Store.G.30]: no such object.
Am I doing something wrong or what's the deal?

@metagriffin
Owner

thanks for catching that error, and many thanks for the pull request - i've now merged it. note that i also just added a fix to the silly "onupgradecomplete" workaround, so if you are using that, it can now be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.