This class contains methods for accessing the window.indexedDb. See theIndexedDb for the one and only one instance of this class
Remove the data in the indexedDb and close it
| Name | Type | Description |
|---|---|---|
| UUID | String | An UUID used to identify the data in the indexedDb |
Open the indexedDb
Read data in the indexedDb.
| Name | Type | Description |
|---|---|---|
| UUID | String | An UUID used to identify the data in the indexedDb |
Write data in the indexedDb.
| Name | Type | Description |
|---|---|---|
| UUID | String | An UUID used to identify the data in the indexedDb |
| data | String | The data to put in the indexedDb |
A temp variable used to store the data to write in the indexedDb
A reference to the opened indexedDB
The version of the db to use
Perform the open operations
| Name | Type | Description |
|---|---|---|
| onOk | Function | The Ok handler for the Promise |
| onError | Function | The error handler for the Promise |
Perform the read operations
| Name | Type | Description |
|---|---|---|
| onOk | Function | The Ok handler for the Promise |
| onError | Function | The error handler for the Promise |