featwip: pretty departures

This commit is contained in:
Cilly Leang 2026-04-13 03:58:00 +10:00
parent ef630b6d58
commit 4e1e05495d
Signed by: cilly
GPG key ID: 6500251E087653C9
13 changed files with 264 additions and 37 deletions

View file

@ -28,6 +28,9 @@ interface RouteDao {
@Query("DELETE FROM Route")
suspend fun deleteAll()
@Query("SELECT * FROM Route INNER JOIN Trip on Route.id == Trip.routeId WHERE Trip.id == :tripId")
suspend fun getByTrip(tripId: String): RouteEntity?
@Query("""
SELECT Stop.* FROM Stop
INNER JOIN StopTime ON StopTime.stopId == Stop.id