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

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
version 12 webkit

From 4.0 (2.0) to

9.0 (9.0) moz

No support No support No support
oldVersion 23webkit
24

10.0 (10.0) moz
16.0 (16.0)

10, partial 15 7.1
newVersion 23webkit
24

10.0 (10.0) moz
16.0 (16.0)

10, partial 15 7.1
Feature Android Firefox Mobile (Gecko) Firefox OS IE Phone Opera Mobile Safari Mobile
Basic support 4.4 22.0 (22.0) 1.0.1 10 22 No support

See also

Document Tags and Contributors

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