I'm using IndexedDB in a Windows 8 app and I'm very new to both. I've been able to successfully create, read, update, delete objects from object stores, and have created a couple databases and a few object stores. My question is how can I list all of my object stores and databases? I create a few bogus ones that are not needed and I would like to clean things up a bit, but I can't remember what they are named. Maybe this is anal retentive, but it seems like it should be possible to list all databases and stores. Thanks!
相关问题
- Inheritance impossible in Windows Runtime Componen
- how to get running process information in java?
- Is TWebBrowser dependant on IE version?
- How can I have a python script safely exit itself?
- I want to trace logs using a Macro multi parameter
相关文章
- 如何让cmd.exe 执行 UNICODE 文本格式的批处理?
- 怎么把Windows开机按钮通过修改注册表指向我自己的程序
- Warning : HTML 1300 Navigation occured?
- Bundling the Windows Mono runtime with an applicat
- Windows 8.1 How to fix this obsolete code?
- CosmosDB emulator can't start since port is al
- How to print to stdout from Python script with .py
- Determine if an executable (or library) is 32 -or
EDIT 2018 This answer is no longer applicable:
webkitGetDatabaseNames() is deprecated in chrome 60
In Chrome webkit there was a function which would return all database names, this function is no longer available as of Chrome 60 (webkitgetdatabasenames):
And there is another function which list all object stores in a single database which work in all browsers:
There is currently no way of enumerating the existing databases in the standard. Windows 8 apps use IE, which does not provide the non-standard
webkitGetDatabaseNames
method. You might be able to clear the databases using the options dialog in IE10.Listing the stores inside a database is defined in the standard using the objectStoreNames method of an IDBDatabase instance.
Since all other topics reference back here as a duplicates. In Chrome you can view and delete all created databases in
Developer Tools > Application > Storage
.