I want to know how I can optimize my Doctrine queries because some of my queries are too long.
I don't want a method particularly to my query, but common methods I can apply to all requests, because I don't find information about this.
Here are some tips to make Doctrine perform better:
The changes that I've noticed make the biggest change: