Closed Feroks closed 11 months ago
preferOPFS: false
, go to devtools > Application > IndexedDB and check if the database existspreferOPFS: true
, use OPFS explorer extension and check if the directory existsAlso, there will be some improvements and bug fix if I have some times to release
isIdbSupported
, isModuleWorkerSupport
and isOpfsSupported
all return true
. I can run queries on the database, but the moment page is refreshed, data is gone.You're right. I tested it locally and there indeed is a data loss issue.
You can use v0.5.1 for now. Maybe it is caused by the upstream lib and need some times to fix it
I have SvelteKit SPA application and use following code to initialize
Kyseley
:If i initialize it again or reload the page all my data and tables are gone. I have tried to set
preferOPFS
tofalse
, but it does not help. I guess i am doing something wrong. Do you have any suggestions?