Dexie.js在使用db查询的时候,请问:
1、toArray/toCollection/toCollection.toArray 三者有什么区别呢?
console.log('toArray: ', db.friends.toArray())
console.log('toCollection: ', db.friends.toCollection())
console.log('toCollection.toArray: ', db.friends.toCollection().toArray())
我打印的结果为:
2、是否 toArray和toCollection.toArray 没有任何区别?