Skip to content

Commit fb32580

Browse files
committed
remove unused updateNewsResources method
1 parent 67412b2 commit fb32580

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/NewsResourceDao.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import androidx.room.Insert
2121
import androidx.room.OnConflictStrategy
2222
import androidx.room.Query
2323
import androidx.room.Transaction
24-
import androidx.room.Update
2524
import androidx.room.Upsert
2625
import com.google.samples.apps.nowinandroid.core.database.model.NewsResourceEntity
2726
import com.google.samples.apps.nowinandroid.core.database.model.NewsResourceTopicCrossRef
@@ -65,12 +64,6 @@ interface NewsResourceDao {
6564
@Insert(onConflict = OnConflictStrategy.IGNORE)
6665
suspend fun insertOrIgnoreNewsResources(entities: List<NewsResourceEntity>): List<Long>
6766

68-
/**
69-
* Updates [entities] in the db that match the primary key, and no-ops if they don't
70-
*/
71-
@Update
72-
suspend fun updateNewsResources(entities: List<NewsResourceEntity>)
73-
7467
/**
7568
* Inserts or updates [newsResourceEntities] in the db under the specified primary keys
7669
*/

0 commit comments

Comments
 (0)