1 out of 1 rated this helpful - Rate this topic

IDBDatabase object

Represents a container for object stores, indexes, and other objects associated with data.

DOM Information

Inheritance Hierarchy

The IDBDatabase does not inherit from any class or interface.

Members

The IDBDatabase object has these types of members:

Methods

The IDBDatabase object has these methods.

MethodDescription
close

Closes the connection to a database.

createObjectStore

Creates an object store.

deleteObjectStore

Deletes an object store (and associated indexes) from the database.

setVersion

Obsolete. No longer supported.

transaction

Begins a transaction for the specified object stores.

 

Properties

The IDBDatabase object has these properties.

PropertyDescription

objectStoreNames

Returns the names of object stores associated with a database.

onerror

Defines a function handler that is executed when an error is encountered during a request, a transaction, or other database operation.

version

Gets the version of the database.

 

Standards information

 

 

Build date: 11/22/2012

© 2013 Microsoft. All rights reserved.