cloudroam
2025-04-18 f3e60d24d0f24dc5cf7d77f9b871f416370e9132
app/src/main/java/com/example/firstapp/database/repository/KeywordRepository.kt
@@ -1,5 +1,6 @@
package com.example.firstapp.database.repository
import androidx.annotation.WorkerThread
import com.example.firstapp.database.dao.KeywordDao
import com.example.firstapp.database.entity.KeywordConfig
import com.example.firstapp.database.entity.KeywordEntity
@@ -39,5 +40,9 @@
        keywordDao.insertAll(keywordEntities)
    }
    @WorkerThread
    fun deleteAll() = keywordDao.deleteAll()
}