David Fahlander
David Fahlander
Yes, we are aware of this and it is according to how we have specified it: If a user has expired, it will stop connecting to the cloud unless db.cloud.sync()...
Thanks! I mark this as a bug and add it to the backlog. Were you able to work around it?
In dexie-cloud-addon we use [a middleware](https://dexie.org/docs/Dexie/Dexie.use()) to track all operations on the transaction and subscribe to the transaction's commmitted event to store the operations in a dedicated table for logging...
It would be nice with an addon for it. I've got the same question before.
In your case, would you prefer an in-memory undo buffer or a persistent one?
Let `normalUndoOrRedo` be bound to the transaction. To do this you could: ```ts // create a weakmap to associate state with the transaction: const wmNormalUndoOrRedo = new WeakMap(); ... //...
To detect failing operations, just catch the call to downlevelTable.mutate() and remove anything you've pushed to your undo buffer from it. Remember to re-throw the error also. The reason for...
Make sure that the objects you add does not contain promises or functions. Set a breakpoint on the line that adds an object and inspect the object. Or if you...
It is possible to insert null values into indexedDB but they would never be returned when querying on an index like this code shows. I would say that it is...
Yes, but I'm still confused that a null entry could get there. Is the query performed in a liveQuery() If so, this could indicate a bug in Dexie's cache (which...