David Fahlander

Results 557 comments of David Fahlander

If the case is an old browser, fakeIndexedDB or indexedDBShim, one solution is to transpile the code to ES2016 (before await was introduced).

Have a look at [Dexie Cloud](https://dexie.org/cloud/) as it will enable this exact scenario. It's not free though (but hosting is normally not free). The downside with CouchDB is that ~~it...

Yes, that's a scenario in dexie cloud by setting [{ requireAuth: false }](https://dexie.org/cloud/docs/db.cloud.configure()#requireauth) in the options to db.cloud.configure(). The scenario is this: 1. User loads your app. 2. Cloud is...

Thanks @dheimoz for pointing out the comment that may be misleading. I've updated the comment. Couch has separation of users indeed, but what is unique to dexie cloud is the...

> Is it possible to sync Dexie with PostgreSQL database? The thing is that we already have it in the project and I would like to avoid extra moving parts,...

Hi and thanks! Dexie.Observable tracks changes and stores every change into the _changes table. This was developed many years ago as a basis for Dexie.Syncable - who needed the changes...

Well yes, but as we now have the [Web Locks API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_API) in browser, it would be better to replace the whole leader election with that instead. However, it's probably a...

Theres sugar for that. Would probably be useful.

Thanks :) Cheers to you to! I have it in my plans. Don't know if it will come into the dexie@5 road map or later. Don't think it's so far...

> Suggestion: hash blobs such that if multiple copies of the same image are in a user’s db (maybe in different realms), you only have to store and sync it...