Class: shaka.offline.DBUpgradeFromVersion0

Constructor

new DBUpgradeFromVersion0()

With Indexeddb, the initial empty state of any database is considered version 0. Which means when you create a database for the first time, you need to upgrade it from version 0 to your initial version.
Implements:
Source:

Methods

upgrade(db, transaction)

Parameters:
Name Type Description
db IDBDatabase
transaction IDBTransaction
Implements:
Source: