diff --git a/common/src/main/java/de/nicidienase/chaosflix/common/entities/recording/persistence/EventDao.kt b/common/src/main/java/de/nicidienase/chaosflix/common/entities/recording/persistence/EventDao.kt index 783d9e15..7d91d7c6 100644 --- a/common/src/main/java/de/nicidienase/chaosflix/common/entities/recording/persistence/EventDao.kt +++ b/common/src/main/java/de/nicidienase/chaosflix/common/entities/recording/persistence/EventDao.kt @@ -31,6 +31,9 @@ interface EventDao{ @Query("SELECT * FROM event WHERE eventId in (:ids)") fun findEventsByIds(ids: LongArray): LiveData> + @Query("SELECT * FROM event WHERE guid in (:ids)") + fun findEventsByGUIDs(ids: List): LiveData> + @Query("SELECT * FROM event WHERE conferenceId = :id ORDER BY title ASC") fun findEventsByConference(id: Long):LiveData>