put
The put() method of the IDBObjectStore interface updates a given record in a database, or inserts a new record if the given item does not already exist.
The put() method of the IDBObjectStore interface updates a given record in a database, or inserts a new record if the given item does not already exist.