David Fahlander

Results 556 comments of David Fahlander

Thanks! I think this issue is a "good first issue" for any contributor to fix. 1. Fork or update your existing fork of Dexie.js 2. In root of Dexie.js repo:...

Thanks! I assigned it to you. It would be great if you also could add a test that reproduces the error if you have a chance. Please report back if...

Yes, I use @jakearchibald's workaround in latest beta. ``` npm install dexie@next ```

If you have a single record you don't need indexes to find it. If you'd have several records you can index their properties and use the index to find certain...

Please examplify what you want. How does every stored record look like? An object with an array property? Show some JSON. I will try to explain how to index it.

And what is `items`? Is it a property of a single stored record or are you planning to insert each item as its own record in a table?

IndexedDB is not optimized for storing large entries with arrays of items. Arrays can be indexed but only arrays of [indexable types](https://dexie.org/docs/Indexable-Type) which does not include objects. Could you change...

Why not just declare and export your `db` in a dedicated module `db.js`? Don't see no reason for doing any extra 'dance' around it. Database will open in background anyway...

Don't know what hospitalUpdate() does but else than that, the principle is to create a new Dexie instance, open it using an incremented version and the new schema. There is...