File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
core/database/src/main/java/com/google/samples/apps/nowinandroid/core/database/dao Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import androidx.room.Insert
2121import androidx.room.OnConflictStrategy
2222import androidx.room.Query
2323import androidx.room.Transaction
24- import androidx.room.Update
2524import androidx.room.Upsert
2625import com.google.samples.apps.nowinandroid.core.database.model.NewsResourceEntity
2726import 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 */
You can’t perform that action at this time.
0 commit comments