IDBVersionChangeRequest Interface
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
Extends
Methods
Code IDBVersionChangeRequestEvents get on() #
IDBVersionChangeRequestEvents get on();
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.