MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / getPracticedCount

Function getPracticedCount

frontend/src/data/localDB/practiceSessions.ts:134–139  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

132}
133
134async function getPracticedCount(sessionId: string): Promise<number> {
135 return await db.practice_cards
136 .where({ sessionId })
137 .filter((card) => card.isPracticed)
138 .count()
139}
140
141async function getCorrectCount(sessionId: string): Promise<number> {
142 return await db.practice_cards

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected