cloudroam
2025-04-03 97745e7ad15fb3d175f81dfdd2f24269e8fdfefd
app/src/main/java/com/example/firstapp/database/dao/ReminderDao.kt
@@ -1,4 +1,5 @@
package com.example.firstapp.database.dao
import androidx.room.*
import com.example.firstapp.database.entity.Reminder
import kotlinx.coroutines.flow.Flow
@@ -14,4 +15,7 @@
    @Delete
     fun delete(reminder: Reminder)
    @Query("SELECT * FROM reminders WHERE type = :type")
    fun getByType(type: String): List<Reminder>
}