index
Summary
Returns an IDBIndex representing an index that is part of the object store.
Method of apis/indexeddb/IDBObjectStoreapis/indexeddb/IDBObjectStore
Syntax
var object = object.index(name);
Parameters
name
- Data-type
- Blob
Name of the index to be retrieved.
Return Value
Returns an object of type DOM NodeDOM Node
Notes
Remarks
This method can throw the following DOMException exceptions:
Exception properties | Description |
|
The specified index was not found in the database (case-sensitive). |
|
The data source has been deleted or removed. |
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.
Syntax
Standards information
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]