oldVersion property

int get oldVersion

The oldVersion read-only property of the IDBVersionChangeEvent interface returns the old version number of the database.

When the opened database doesn't exist yet, the value of oldVersion is 0.

Implementation

external int get oldVersion;