Open perfect opened 2 months ago
I have an index result
const groupsTable = db.createObjectStore("groups", { keyPath: "groupId", }); groupsTable.createIndex("boardId", "boardId", { unique: false }); await db.getAllFromIndex("groups", "boardId", boardId);
but I need order result by "index" property , sort it by code or sort function ? Can I get the right order from indexed DB directly?
I have an index result
but I need order result by "index" property , sort it by code or sort function ? Can I get the right order from indexed DB directly?