The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
The connection is not actually closed until all transactions created using this connection are complete.
The method takes the name of the store as well as a parameter object.
As with createObjectStore, this method can be called only within a versionchange transaction.
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
A DOMString that contains the name of the connected database.
A DOMStringList that contains a list of the names of the object stores currently in the connected database.
Fires when access of the database is aborted.
Fires when access to the database fails.
Removes the event listener previously registered with EventTarget.addEventListener.
Immediately returns a transaction object (IDBTransaction) containing the IDBTransaction.objectStore method, which you can use to access your object store.
A 64-bit integer that contains the version of the connected database.