Returns a list of the names of object stores in the database.
Returns the version of the database.
Closes the connection once all running transactions have finished.
Creates 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.
Deletes the object store with the given name. Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Returns 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.
Generated using TypeDoc
Returns the name of the database.