Querying for a nested collection with a count in the same query
I have a schema which includes a one to many relationship between a Page and Report. Reports has a date field and I want to fetch a count of Reports per Page within a given time frame along with all the Page data and filtered Reports.
Doctrine updating the timestamp without updating the entity
I have two entities viz WallPost
and WallPostLike
and they are related by OneToMany relationship.