Dart API Referencedart:htmlIDBVersionChangeEvent

IDBVersionChangeEvent Interface

The IDBVersionChangeEvent interface of the IndexedDB API indicates that the version of the database has changed.

The specification has changed and some not up-to-date browsers only support the deprecated unique attribute, version, from an early draft version.

Extends

Event

Fields

Code final String version #

Warning: While this property is still implemented by not up-to-date browsers, the latest specification does replace it by the oldVersion and newVersion attributes. See compatibility table to know what browsers support them.
The new version of the database in a VERSION_CHANGE transaction.
final String version;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.