Skip to content

Commit 1489bf6

Browse files
committed
remove unused updateTopics method
1 parent c1ece44 commit 1489bf6

File tree

1 file changed

+0
-7
lines changed
  • core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/dao

1 file changed

+0
-7
lines changed

core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/dao/TopicDao.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import androidx.room.Dao
2020
import androidx.room.Insert
2121
import androidx.room.OnConflictStrategy
2222
import androidx.room.Query
23-
import androidx.room.Update
2423
import androidx.room.Upsert
2524
import com.google.samples.apps.nowinandroid.core.database.model.TopicEntity
2625
import kotlinx.coroutines.flow.Flow
@@ -55,12 +54,6 @@ interface TopicDao {
5554
@Insert(onConflict = OnConflictStrategy.IGNORE)
5655
suspend fun insertOrIgnoreTopics(topicEntities: List<TopicEntity>): List<Long>
5756

58-
/**
59-
* Updates [entities] in the db that match the primary key, and no-ops if they don't
60-
*/
61-
@Update
62-
suspend fun updateTopics(entities: List<TopicEntity>)
63-
6457
/**
6558
* Inserts or updates [entities] in the db under the specified primary keys
6659
*/

0 commit comments

Comments
 (0)