Inherits from: EventTarget
Documentation IDBDatabase by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
Variables
read onlyobjectStoreNames:DOMStringList
A DOMStringList that contains a list of the names of the object stores currently in the connected database.
onversionchange:Function
Fires when a database structure change (IDBOpenDBRequest.onupgradeneeded event or IDBFactory.deleteDatabase() was requested elsewhere (most probably in another window/tab on the same computer). This is different from the version change transaction (see IDBVersionChangeEvent), but it is related.
Methods
createObjectStore(name:String, ?optionalParameters:ObjectStoreParameters):ObjectStore
Throws:
null | DOMError |
|---|
transaction(storeNames:EitherType<String, Array<String>>, mode:TransactionMode = "readonly"):Transaction
Throws:
null | DOMError |
|---|