IndexedDB view all Databases and Object Stores

前端 未结 4 2089
青春惊慌失措
青春惊慌失措 2020-12-03 10:58

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

4条回答
  •  长情又很酷
    2020-12-03 11:33

    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.

提交回复
热议问题