Update RssSourceDao.kt
This commit is contained in:
1 parent
f135312b90
commit
5c3f98c457
1 file changed
+2
-2
@@ -17,7 +17,7 @@ interface RssSourceDao {
|
|||||||
@Query("select * from rssSources where sourceUrl in (:sourceUrls)")
|
@Query("select * from rssSources where sourceUrl in (:sourceUrls)")
|
||||||
fun getRssSources(vararg sourceUrls: String): List<RssSource>
|
fun getRssSources(vararg sourceUrls: String): List<RssSource>
|
||||||
|
|
||||||
@get:Query("SELECT * FROM rssSources")
|
@get:Query("SELECT * FROM rssSources order by customOrder")
|
||||||
val all: List<RssSource>
|
val all: List<RssSource>
|
||||||
|
|
||||||
@get:Query("select count(sourceUrl) from rssSources")
|
@get:Query("select count(sourceUrl) from rssSources")
|
||||||
@@ -135,4 +135,4 @@ interface RssSourceDao {
|
|||||||
dealGroups(list)
|
dealGroups(list)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user