IDBDatabase object
Represents a container for object stores, indexes, and other objects associated with data.
DOM Information
Inheritance Hierarchy
The IDBDatabase does not inherit from any class or interface.Members
The IDBDatabase object has these types of members:
Methods
The IDBDatabase object has these methods.
| Method | Description |
|---|---|
| close |
Closes the connection to a database. |
| createObjectStore |
Creates an object store. |
| deleteObjectStore |
Deletes an object store (and associated indexes) from the database. |
| setVersion |
Obsolete. No longer supported. |
| transaction |
Begins a transaction for the specified object stores. |
Properties
The IDBDatabase object has these properties.
| Property | Description |
|---|---|
|
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. |
Standards information
Build date: 11/22/2012
