Doctrine QueryBuilder にどのように変換しますか?
SELECT A.*
,(SELECT COUNT(created_on)
FROM event WHERE DATE=created_on) created
,(SELECT COUNT(updated_on)
FROM event WHERE DATE=updated_on) updated
FROM (
SELECT created_on DATE FROM event
UNION SELECT updated_on FROM event ) A