zhujie
10 天以前 88b00f3fc74446a1727c93722c7b64179b45a9db
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
}