deleteObjectStore method
Deletes an object store (and associated indexes) from the database.
![]() |
Syntax
IDBDatabase.deleteObjectStore(name);Parameters
- name [in]
-
Type: DOMString
Name of the object store to be removed.
Return value
This method does not return a value.
Exceptions
This method can throw the following DOMException exceptions:
Note As of Internet Explorer 10, the code property is deprecated in favor of the name property, which is preferred for standards compliance and future compatibility.
| Exception properties | Condition |
|---|---|
|
The method was not called within the context of a VERSION_CHANGE transaction or the request was made for an object that has been moved or deleted. | |
|
An object store could not be found with the specified name (case-sensitive). |
Standards information
See also
Show:
