emscripten-core / emscripten-core/emscripten
Preferred way to clear/delete IDBFS database?
Open
good first bug
help wanted
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
What is the preferred way to delete / empty / clear a filesystem persisted using IDBFS?
I've found the [deleteDatabase()](https://developer.mozilla.org/en-US/docs/Web/API/IDBFactory/deleteDatabase) and [clear()](https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/clear) functions that operate on an IDBFactory and IDBObectStore respectively, but there doesn't seem to be any way to get my IDBFS database name.
Contributor guide
Assessment
This issue has not been assessed yet.