我正在使用IE10测试基于indexedDB的应用程序.我无法创建具有多个键的对象库.例如,var objectStore = theDb.createObjectStore("store1", { keyPath: ["key1","key2"] });.
var objectStore = theDb.createObjectStore("store1", { keyPath: ["key1","key2"] });
当我尝试将数据插入到存储中时,会引发异常消息:"DataError"这不是很有用!有没有人能够objectStores使用IE10 创建多个键?这可以在Chrome中进行精细测试.
objectStores
javascript indexeddb
indexeddb ×1
javascript ×1