1.2
tj
2025-04-11 27bbd0435881e408f267c99e6a253d2e17873bcc
app/src/main/java/com/example/firstapp/database/dao/KeywordDao.kt
@@ -7,6 +7,7 @@
import androidx.room.Update
import com.example.firstapp.database.entity.KeywordConfig
import com.example.firstapp.database.entity.KeywordEntity
import io.reactivex.Completable
//@Dao
//interface KeywordDao {
@@ -34,4 +35,7 @@
    @Query("SELECT * FROM keywords")
     fun getAllKeywords(): List<KeywordEntity>
    @Query("DELETE FROM keywords")
     fun deleteAll(): Completable
}