Represents a container for object stores, indexes, and other objects associated with data.
Inheritance HierarchyThe IDBDatabase does not inherit from any class or interface.
The IDBDatabase object has these types of members:
The IDBDatabase object has these methods.
Registers an event handler for the specified event type.
Closes the connection to a database.
Creates an object store.
Deletes an object store (and associated indexes) from the database.
Sends an event to the current element.
Removes an event handler that the addEventListener method registered.
Obsolete. No longer supported.
Begins a transaction for the specified object stores.
The IDBDatabase object has these properties.
Returns the names of object stores associated with a database.
Defines a function handler that is executed when an error is encountered during a request, a transaction, or other database operation.
Gets the version of the database.