Constructor
new DBConnection(connection)
Parameters:
| Name | Type | Description | 
|---|---|---|
| connection | IDBDatabase | A connection to an IndexedDB instance. | 
Members
pending_ :Array<shaka.offline.indexeddb.DBOperation>
Type:
Methods
startOperation_(store, type) → {shaka.offline.indexeddb.DBOperation}
Parameters:
| Name | Type | Description | 
|---|---|---|
| store | string | The name of the store that the operation should occur on. | 
| type | string | The type of operation being performed on the store. This determines what commands may be performed. This can either be "readonly" or "readwrite". | 
Returns:
startReadOnlyOperation(store) → {shaka.offline.indexeddb.DBOperation}
Parameters:
| Name | Type | Description | 
|---|---|---|
| store | string | The name of the store that the operation should occur on. | 
Returns:
startReadWriteOperation(store) → {shaka.offline.indexeddb.DBOperation}
Parameters:
| Name | Type | Description | 
|---|---|---|
| store | string | The name of the store that the operation should occur on. | 
Returns:
stopTracking_(operationnon-null)
Parameters:
| Name | Type | Description | 
|---|---|---|
| operation | shaka.offline.indexeddb.DBOperation |