I have a 1:n relation: An event can have many dates.
Now I would like to query the event repository and apply a filter on the childrecords "dates":
"Get all events which have dates where date.start > x"
The pure SQL query could be something like this:
SELECT tx_event_domain_model_event.*,tx_event_domain_model_date.*
FROM tx_event_domain_model_event, tx_event_domain_model_date
WHERE tx_event_domain_model_date.event = tx_event_domain_model_event.uid
AND tx_event_domain_model_date.start > 1497960246
How can I do this query with the extbase query class in a repository?