Use a join
Posted by Tim Bowler in Symfony, Website performance optimization, tags: left join, mysql, Symfony, symfony left joinI was refactoring a few developers code today, and one thing I see time and time again is two queries in favour of a left join, . The problem is symfony makes result set retrieval so easy (thanks to propel of course).
Example:
To see if an author has a comment
Read the rest of this entry »

Entries (RSS)