Readonly
nameReturns the name of the database.
Readonly
objectReturns a list of the names of object stores in the database.
Readonly
versionReturns the version of the database.
Optional
options: boolean | AddEventListenerOptionsOptional
options: boolean | AddEventListenerOptionsCreates a new object store with the given name and options and returns a new IDBObjectStore.
Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
Optional
options: IDBObjectStoreParametersOptional
options: boolean | EventListenerOptionsOptional
options: boolean | EventListenerOptionsReturns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
Optional
mode: IDBTransactionModeOptional
options: IDBTransactionOptionsGenerated using TypeDoc
This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database.
MDN Reference