JavaScript 可以使用
var objectStore = theDb.createObjectStore("store1", { keyPath: ["key1","key2"] });
使用复合键创建 ObjectStore 。
但是如何在飞镖中做到这一点?
Dart 文档说: ObjectStore createObjectStore(String name, {String keyPath, bool autoIncrement})
keyPath 是一个字符串,dart 是否支持复合键?