Delete web sqlite database from Dart #2821
Answered
by
simolus3
davidmartos96
asked this question in
Q&A
-
Hello, I was wondering if it was possible to delete the database programatically on web. The same way you would do with the Chrome/Firefox devtools or with the Javascript API. |
Beta Was this translation helpful? Give feedback.
Answered by
simolus3
Jan 6, 2024
Replies: 1 comment 6 replies
-
Are you using |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've implemented this in 09c6cf0, but it also requires a newer worker. It's not 100% reliable (if a second tab opens a database connection and gets closed, it can't tell the database server that the connection is dead). But the common case of opening a database, closing it and then deleting it should work.