WriteableTable.put() - zuki/Dexie.js GitHub Wiki
Adds new or replaces existing object in the object store.
table.put(item, [key])
item | Object to add | |
key | Primary key | optional |
If an object with the same primary already exist, it will be replaced with given object. If it does not exist, it will be added.