David Fahlander
David Fahlander
You need to open the db without specifying a version. https://dexie.org/docs/Dexie/Dexie.open()#sample-dynamic-mode The only downside is that your tables need to be accessed via ```js db.table('myTableName') ``` instead of ```js db.myTableName...
It means you tried to store an object that contained properties of unsupported (not clonable) types. The supported types are defined in the DOM standard [structured cloning](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm). Examples of supported...
> Is there any library or a good way to check the members of object is clonable or not by structured cloning algorithm ? Maybe typeson with preset `structuredCloningThrowing` from...
@ballabusta In the worker schenario, your example code does not specify version().stores(). That is possible, but then you need to access the tables through db.table(tableName) rather than just db.tableName as...
It's often better to declare the db instance in its own module and import the same module from both worker and web. ```js // db.js import Dexie from "dexie"; export...
> This happens at the exact same time too (same rev number) and it triggers of the same case multiple times (from all the browsers?) resulting in more data than...
What method is being used? Collection.modify() or Table.put() ? What OS/Browser? If you use Collection.modify(callbackFn), and set this.value = somethingNew, make sure that this "somethingNew" var is not changed over...
I assume you have defined your table schemas has having non-[inbound](http://dexie.org/docs/inbound) keys, as you are providing the primary key as a second argument to put(). Following the Dexie.js code on...
Thanks @magnus-staberg. As no hooks are being used, this has to be an IndexedDB implementation bug. In your case, you are using IndexeddbShim. It would be very interesting to know...
@gregor is Wire app listening to dexie hooks?