In dexie.js, is there a way to obtain all records from a table?
Currently I am using:
dbTable.filter(() => true).then( ... )
It works but I am not sure, whether it's the right way.
In dexie.js, is there a way to obtain all records from a table?
Currently I am using:
dbTable.filter(() => true).then( ... )
It works but I am not sure, whether it's the right way.
Share Improve this question asked Feb 6, 2019 at 10:12 LongHikeLongHike 4,4608 gold badges49 silver badges86 bronze badges2 Answers
Reset to default 15db.table("tableName").toArray().then( ... )
you can try this
const all = await db.friends.toArray()