If I add a blob to my database using bulkAdd(), then if any key already exist then it throw error saying same.
bulkAdd(): 127 of 127 operations failed.
Errors: ConstraintError: Key already exists in the object store.
Now I want, if any key already exist in database then update data associated with that key using some if condition (e.g. if it is smaller than 1).
But when I try to console.log(error.failures) it just shows messages not the data object.
Can any one tell me how we can do that?