Export (0) Print
Expand All

objectStore method

Returns an object store that is part of the transaction.

Internet Explorer 10

 

Syntax

var retVal = IDBTransaction.objectStore(name);

Parameters

name [in]

Type: DOMString

Name of the object store to return.

Exceptions

This method can throw the following DOMException exceptions:

Note  As of Internet Explorer 10, the code property is deprecated in favor of the name property, which is preferred for standards compliance and future compatibility.
Exception propertiesCondition
name: NotFoundError
code: DOMException.NOT_FOUND_ERR (8)

An object store could not be found with the specified name (case-sensitive).

name: InvalidStateError
code: DOMException.INVALID_STATE_ERR (11)

The data source has been deleted or is otherwise not available.

 

Standards information

See also

IDBTransaction

 

 

Show:
© 2015 Microsoft