pull/35/head^2
kunfei 5 years ago
parent bb3b689c06
commit e8bab32b7b
  1. 2
      app/src/main/java/io/legado/app/data/dao/RssArticleDao.kt

@ -13,6 +13,6 @@ interface RssArticleDao {
@Query("select * from rssArticles where origin = :origin order by time desc") @Query("select * from rssArticles where origin = :origin order by time desc")
fun liveByOrigin(origin: String): LiveData<List<RssArticle>> fun liveByOrigin(origin: String): LiveData<List<RssArticle>>
@Insert(onConflict = OnConflictStrategy.REPLACE) @Insert(onConflict = OnConflictStrategy.IGNORE)
fun insert(vararg rssArticle: RssArticle) fun insert(vararg rssArticle: RssArticle)
} }
Loading…
Cancel
Save