This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

setVersion

Summary

Deletion candidate. Not in spec: http://www.w3.org/TR/IndexedDB/

Method of apis/indexeddb/IDBDatabaseapis/indexeddb/IDBDatabase

Syntax

var object = object.setVersion(/* see parameter list */);

Parameters

version

Data-type
Blob

The new version identifier.

retVal

Data-type
Blob

The transaction associated with the VERSION_CHANGE request.

Return Value

Returns an object of type DOM NodeDOM Node

Type: HRESULT

This method can return one of these values.

{

Notes

Remarks

The setVersion method was specified by an early draft of the Indexed Database specification. The method was removed from later drafts of the specification and is no longer supported. To create object stores, indexes, and other IndexedDB objects, use the version parameter of the open method of the indexedDB property to generate an onupgradeneeded event.

Syntax

Standards information

See also

Related pages

Attributions