This method may raise a DOMException of one of the following types:
This method may raise a DOMException of one of the following types:
Sets cursor to key if specified, otherwise advances cursor by one.
Sets cursor to key if specified, otherwise advances cursor by one.
calling this method twice from the same onsuccess handler results in a InvalidStateError DOMException being thrown on the second call W3C
Returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position.
Returns an IDBRequest object, and, in a separate thread, deletes the record at the cursor's position, without changing the cursor's position.
Is a DOMString that, on getting, returns the direction of traversal of the cursor.
Is a DOMString that, on getting, returns the direction of traversal of the cursor. See Constants for possible values.
Returns the key for the record at the cursor's position.
Returns the key for the record at the cursor's position. If the cursor is outside its range, this is set to undefined. The cursor's key can be any data type.
Returns the cursor's current effective key.
Returns the cursor's current effective key. If the cursor is currently being iterated or has iterated outside its range, this is set to undefined. The cursor's primary key can be any data type.
On getting, this object returns the IDBObjectStore or IDBIndex that the cursor is iterating.
On getting, this object returns the IDBObjectStore or IDBIndex that the cursor is iterating. This function never returns null or throws an exception, even if the cursor is currently being iterated, has iterated past its end, or its transaction is not active.
Returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store.
Returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store.
Same as IDBCursor with the
value
property.The type of
.source