MatchDao

interface MatchDao

Functions

Link copied to clipboard
abstract suspend fun delete(item: DbMatch)

Deletes a DbMatch from the database.

Link copied to clipboard
abstract fun getAllItems(date: String): Flow<List<DbMatch>>

Retrieves all DbMatch entities for a given date.

Link copied to clipboard
abstract fun getItem(id: Int): Flow<DbMatch>

Retrieves a single DbMatch by its ID.

Link copied to clipboard
abstract suspend fun insert(item: DbMatch)

Inserts a DbMatch into the database.

Link copied to clipboard
abstract suspend fun update(item: DbMatch)

Updates an existing DbMatch in the database.