Session database: add count query.
This commit is contained in:
parent
8a4d0c7bee
commit
85c9fd916b
5 changed files with 27 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue