Changes between Version 1 and Version 2 of SearchRoutesUseCase
- Timestamp:
- 01/12/25 21:39:36 (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SearchRoutesUseCase
v1 v2 10 10 * The user may click on a route and view upcoming trips for that route. 11 11 1.2. If no routes match the search criteria, the user is notified accordingly. 12 {{{#!sql 13 SELECT r.route_id, l1.name AS from_location, l2.name AS to_location, tr.company_name AS organizer_name 14 FROM route r 15 JOIN location l1 ON r.from_location_id = l1.location_id 16 JOIN location l2 ON r.to_location_id = l2.location_id 17 JOIN transport_organizer tr ON r.transport_organizer_id = tr.transport_organizer_id 18 WHERE l1.name ILIKE '%from_location%' 19 AND l2.name ILIKE '%to_location%' 20 }}}