ReadonlynameThe name read-only property of the IDBDatabase interface is a string that contains the name of the connected database.
ReadonlyobjectThe objectStoreNames read-only property of the list of the names of the object stores currently in the connected database.
ReadonlyversionThe version property of the IDBDatabase interface is a 64-bit integer that contains the version of the connected database.
The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsThe addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsThe close() method of the IDBDatabase interface returns immediately and closes the connection in a separate thread.
The createObjectStore() method of the The method takes the name of the store as well as a parameter object that lets you define important optional properties.
Optionaloptions: IDBObjectStoreParametersThe deleteObjectStore() method of the the connected database, along with any indexes that reference it.
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsThe removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsThe transaction method of the IDBDatabase interface immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
Optionalmode: IDBTransactionModeOptionaloptions: IDBTransactionOptions
The
IDBDatabaseinterface of the IndexedDB API provides a connection to a database; you can use anIDBDatabaseobject to open a transaction on your database then create, manipulate, and delete objects (data) in that database.MDN Reference