idb-keyval icon indicating copy to clipboard operation
idb-keyval copied to clipboard

A super-simple-small promise-based keyval store implemented with IndexedDB

Results 22 idb-keyval issues
Sort by recently updated
recently updated
newest added

### Feature Request - Error recovery for default store Currently if we run into an error using the default store, there is no way to recover without refreshing the page....

I use idb-keyval to track user-driven changes in the ui-state (e.g., whether to show a detailed view of a component). The ability to write to a db does not depend...

My app occasionally gets error reports from clients of `UnknownError: Attempt to get a record from database without an in-progress transaction`. It's always on iPhone. I don't have a stack...

Rather than passing to every function, just configuring the default name.

I see the `entries` method basically requests both keys and values and then merges them together: ```ts return Promise.all([ promisifyRequest(store.getAllKeys()), promisifyRequest(store.getAll()), ]).then(([keys, values]) => keys.map((key, i) => [key, values[i]])); ```...

I'm working on the [Isomorphic-git fork of idb-keyval](https://github.com/isomorphic-git/idb-keyval) and I want to replace it with the original. But there is a lack of one function `close()` that is implemented like...

Hi, is it possible with idb-keyval to query / filter for example by value object properties? Or would it performance ok / no better way to just loop entries instead?

The browser's back/forward cache doesn't work when IndexedDB has an open connection. Currently, a connection is opened here and then never closed: https://github.com/jakearchibald/idb-keyval/blob/6695b178d3e1a6a6252d6d72bf8b1830253aadc1/src/index.ts#L13 This causes Lighthouse to fail a check...

We've occasionally seen calls to `set` fail with a `null` error. I'd like to know why `set` calls are failing, so I'm trying to figure out what can cause this....

idb-keyval reported IDBTransaction.error if a `set` operation failed. However, based on my reading of the IndexedDB spec, and based on testing, IDBTransaction.error may not be set at the time the...