IDBOpenDBRequest object
Represents a request made to open or delete a database.
![]() |
Syntax
var req = window.indexedDB.open( sDBName );
DOM Information
Inheritance Hierarchy
IDBRequest
IDBOpenDBRequest
Members
The IDBOpenDBRequest object has these types of members:
Events
The IDBOpenDBRequest object has these events.
| Event | Description |
|---|---|
| onblocked |
Defines a function handler for the blocked event, which executes when a version change transaction cannot complete due to other active transactions. |
Properties
The IDBOpenDBRequest object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write |
Defines a function handler for the upgradeneeded event, which executes when a database is opened with a new version number. |
Standards information
Remarks
The IDBOpenDBRequest object is returned by operations that affect database, such open and deleteDatabase.
See also
Show:
