EventReservationViewHandler: Handler
Item | Value |
---|---|
Briefly | Brief description missing. |
Definition Path | ImprovingApp.EventReservationProjections.EventReservationView.EventReservationViewHandler |
View Source Link | eventReservationProjections.riddl(14:13) |
\n"find or create rows with eventId set to EventScheduled.eventId"
\n
\n"create rows with reservation set to ReservationEstablished.reservationId and location set to EstablishReservation.info.location"
\n
\n"find rows with reservation set to ReservationInfoUpdated.reservationId""set rows' location to ReservationInfoUpdated.info.location"
\n
\n"filter by GetLocationForEvent.event equals event - return EventNotFound if empty""if head of list has no reservation, return NoReservationForEvent""if head of list has no location, return NoLocationForEventReservation""otherwise return LocationForEvent with head of list's location and event"
\n