update
Summary
Creates a structured clone of the value parameter.
Method of apis/indexeddb/IDBCursorapis/indexeddb/IDBCursor
Syntax
var object = object.update(value);
Parameters
value
- Data-type
- Blob
Return Value
Returns an object of type DOM NodeDOM Node
An object representing the update request.
Notes
Remarks
This method can throw the following DOMException exceptions:
Exception properties | Description |
|
When an object store uses inline keys, this exception indicates that the key value of the update object does not match the key value of a corresponding record in the object store. |
|
The data could not be copied. |
|
The update is not allowed for one of the following reasons:
|
|
The associated transaction is read-only. |
|
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]