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
OPFSCoopSyncVFS
directly with flagSQLITE_OPEN_MAIN_DB | SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE
will 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 module
Beta Was this translation helpful? Give feedback.
All reactions