Fail to import exisiting database using OPFSCoopSyncVFS
#234
Replies: 1 comment
-
|
Just find that directly write stream to target file in OPFS will work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Seems that opening
OPFSCoopSyncVFSdirectly with flagSQLITE_OPEN_MAIN_DB | SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITEwill always returnSQLITE_BUSY, which breaksawait check(vfs.jOpen(...))in file demo.The
retry()function that used for resolve the promises only can be used insqlite3 moduleBeta Was this translation helpful? Give feedback.
All reactions