Refactor FeedLoadService to use it within the notification worker
This commit is contained in:
parent
c95aec9da6
commit
a5b9fe4c35
29 changed files with 576 additions and 631 deletions
|
|
@ -40,7 +40,7 @@ abstract class StreamDAO : BasicDAO<StreamEntity> {
|
|||
internal abstract fun silentInsertAllInternal(streams: List<StreamEntity>): List<Long>
|
||||
|
||||
@Query("SELECT COUNT(*) != 0 FROM streams WHERE url = :url AND service_id = :serviceId")
|
||||
internal abstract fun exists(serviceId: Long, url: String?): Boolean
|
||||
internal abstract fun exists(serviceId: Int, url: String): Boolean
|
||||
|
||||
@Query(
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue