update method

IDBRequest update(
  1. JSAny? value
)

The update() method of the IDBCursor interface returns an IDBRequest object, and, in a separate thread, updates the value at the current position of the cursor in the object store. If the cursor points to a record that has just been deleted, a new record is created.

Be aware that you can't call update() (or IDBCursor.delete) on cursors obtained from IDBIndex.openKeyCursor. For such needs, you have to use IDBIndex.openCursor instead.

Implementation

external IDBRequest update(JSAny? value);