IDBVersionChangeEvent.version

The version property of the IDBVersionChangeEvent interface returns The new version of the database in a versionchange transaction.

Warning: While this property is still implemented in older browsers, the latest specification replaces it with the oldVersion and newVersion attributes. See the compatibility table to know what browsers support them.

Syntax

readonly    attribute unsigned long long? version;

Value

A 64-bit integer.

Specifications

Specification Status Comment
Indexed Database API
The definition of 'IDBVersionChangeEvent' in that specification.
Recommendation Initial definition.
Indexed Database API 2.0
The definition of 'IDBVersionChangeEvent' in that specification.
Recommendation  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support12 Yes

4

9 moz

No No No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes18 Yes2222 No Yes

See also

Document Tags and Contributors

Contributors to this page: fscholz, chrisdavidmills
Last updated by: fscholz,