You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I build an app using this library with sql.js and memory storage. I'd like to persist data in the local storage.
I found that sql.js support that officially - wiki and developer workaround by monkey patching your code in my project - code
proposed solution
Add native support by adding optional option to the config that allows to set localStorage dumps and read from them on init. In the perfect scenario it would be hooked to your update/insert methods to trigger saves to localStorage only after query execution.
alternatives
Monkey patching as I do
The text was updated successfully, but these errors were encountered:
context
I build an app using this library with sql.js and memory storage. I'd like to persist data in the local storage.
I found that sql.js support that officially - wiki and developer workaround by monkey patching your code in my project - code
proposed solution
Add native support by adding optional option to the config that allows to set localStorage dumps and read from them on init. In the perfect scenario it would be hooked to your update/insert methods to trigger saves to localStorage only after query execution.
alternatives
Monkey patching as I do
The text was updated successfully, but these errors were encountered: