IDBVersionChangeRequest

Table of contents

  1. 1. Attributes
  2. 2. Browser compatibility
Table of contents
  1. 1. Attributes
  2. 2. Browser compatibility
Warning: The latest specification does not include this interface anymore as the IDBDatabase.setVersion() method has been removed. However, it is still implemented in not up-to-date browsers. See the compatibility table for version details.
The new way to do it is to use the IDBOpenDBRequest interface which has now the onblocked handler and the newly needed onupgradeneeded one.

The IDBVersionChangeRequest interface the IndexedDB API represents a request to change the version of a database. It is used only by the setVersion() method of IDBDatabase.

Inherits from: IDBRequest

Attributes

Attribute Type Description
onblocked
Function
The event handler for the blocked event.

Browser compatibility

  • Desktop
  • Mobile

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 12 -webkit From 4.0 (2.0) to 4.0 (2.0) -- -- --
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support -- 6.0 (6.0) ? -- --

Tags (0)

Edit tags
  • No tags

Attachments (0)

 

Attach file