【发布时间】:2014-09-15 05:22:25
【问题描述】:
在this example中,作者使用了以下行:
var customerObjectStore =
db.transaction("customers", "readwrite").objectStore("customers");
我不明白为什么“客户”被使用了两次。 我已经尝试重命名其中任何一个,看看它可能会在哪里产生影响并且示例中断,因此它们显然有必要保留相同的名称。
【问题讨论】:
标签: javascript indexeddb persistent-object-store