dexie / Dexie.js

A Minimalistic Wrapper for IndexedDB
https://dexie.org
Apache License 2.0
11.69k stars 641 forks source link

How to make Dexie database storage permanent in electron using main process in Node #2029

Open kotasudhakar opened 4 months ago

kotasudhakar commented 4 months ago

Hi, recently i have implemented dexie js db to store data alongside using Fake-indexedDB in the electon main process (not render process) where i can't use storage manager API as it uses navigator which is a browser only thing. So since i am now using electron main process(node) how can i make the storage persisted. Please help me with this as i could not find the info when checked for last one hour in docs and some previous issues.

dfahlander commented 4 months ago

Try replace fakeIndexedDb with indexeddbshim that use SQLite to store data.