Open codemonkey1066 opened 10 years ago
There is a number of autoincrement-related issues already fixed in upstream shim repo: https://github.com/axemclion/IndexedDBShim/search?q=autoincrement&type=Issues
This probably should be fixed by https://github.com/MSOpenTech/cordova-plugin-indexedDB/pull/8. Looking on integrating that PR.
Store created with. db.createObjectStore("myStore",{keyPath:"myKey",autoIncrement :true});
for store.put({value:"someValue"}); No data appears to be inserted. but store.put({myKey:1,value:"someValue"}); will insert data, but having to set the key value defeats the purpose of having an autoIncrement key.