db.version(1).stores({
myObjectStore1: "primaryKey, index1, index2, ..." });
I have tried;
db.version(1).stores['myObjectStore1'] = "primaryKey, index1, index2, ...";
but that doesn't appear to work. Is there any way I'm able to achieve what I'm after using Dexie?
You can convert an array of strings to an object with a little loop. For example like this: http://stackoverflow.com/questions/27412260/converting-string-array-into-a-key-value-pair-object