Indexeddb adds a new value instead of updating an existing value
问题 When attempting to update a record within indexeddb using the put method, it appears that a new value is created rather than a change. According to MDN this is the method to update a record, yet I'm not having the expected result. Any ideas? Here is my code example. /* @keys initalisation */ extension.onupgradeneeded = function (event) { database = event.target.result; if (!database.objectStoreNames.contains('profile')) { var _profile = database.createObjectStore('profile', { autoIncrement: