Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kotasudhakar opened this issue Jul 2, 2024 · 1 comment

Comments

@kotasudhakar
Copy link

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.

@kotasudhakar kotasudhakar changed the title Making Dexie database storage permanent in electron using main process in Node How to make Dexie database storage permanent in electron using main process in Node Jul 2, 2024
@dfahlander
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants