Skip to content

Index Storage in Transaction #396

Answered by lewysigns
lewysigns asked this question in Q&A
Discussion options

You must be logged in to vote

Reading up on implementing indexedDB a bit. It looks like it does support Transactions. Since this error occurred, I assume the following code:

    def __setitem__(self, key, val):
        self._store.setItem(key, _serialize(val))

Is calling the transaction method when storing items. I'll look at catching it in a try/except.

Here is where I read about indexedDB if anyone is interested at a later date:

mozilla

web.dev

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lewysigns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant