openKeyCursor
Summary
Creates a cursor.
Method of apis/indexeddb/IDBIndexapis/indexeddb/IDBIndex
Syntax
var object = object.openKeyCursor(range, direction);
Parameters
range
- Data-type
- Blob
A key range limiting the cursor to a specific set of values.
direction
- Data-type
- Blob
Indicates the direction of traversal and whether duplicate values are included.
Return Value
Returns an object of type DOM NodeDOM Node
Notes
Remarks
This method can throw the following DOMException exceptions:
Exception properties | Description |
|
The values specified in the range parameter are not valid for the data source. |
|
The object store has been deleted or is otherwise unavailable. |
|
The associated transaction is not active. |
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]