dexie / Dexie.js

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

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

Open kotasudhakar opened 2 weeks ago

kotasudhakar commented 2 weeks 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 2 weeks ago

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