mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-26 22:20:24 +00:00
add query to get conferences by guid
This commit is contained in:
parent
73ba84c9f1
commit
9cf4d5cee5
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ interface EventDao{
|
|||
@Query("SELECT * FROM event WHERE eventId in (:ids)")
|
||||
fun findEventsByIds(ids: LongArray): LiveData<List<PersistentEvent>>
|
||||
|
||||
@Query("SELECT * FROM event WHERE guid in (:ids)")
|
||||
fun findEventsByGUIDs(ids: List<String>): LiveData<List<PersistentEvent>>
|
||||
|
||||
@Query("SELECT * FROM event WHERE conferenceId = :id ORDER BY title ASC")
|
||||
fun findEventsByConference(id: Long):LiveData<List<PersistentEvent>>
|
||||
|
||||
|
|
Loading…
Reference in a new issue