Session database: add count query.

This commit is contained in:
Benoit Marty 2025-11-04 15:25:13 +01:00
parent 8a4d0c7bee
commit 85c9fd916b
5 changed files with 27 additions and 0 deletions

View file

@ -50,6 +50,11 @@ interface SessionStore {
*/
suspend fun getAllSessions(): List<SessionData>
/**
* Get the number of sessions.
*/
suspend fun numberOfSessions(): Int
/**
* Get the latest session, or null if no session exists.
*/