-
-
Notifications
You must be signed in to change notification settings - Fork 680
WriteableTable.add()
David Fahlander edited this page Apr 10, 2014
·
7 revisions
Adds an object to the object store.
table.add(item, [key])
| item | Object to add | |
| key | Primary key | optional |
Add given object to store. If an object with the same primary already exist, the opration will fail and returned promise catch() callback will be called with the error object.
Dexie.js - minimalistic and bullet proof indexedDB library