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.
you can try this
const all = await db.friends.toArray()
© 2022 - 2024 — McMap. All rights reserved.