Doctrine Queries
To create custom SQL queries in Symfony, one has to use Doctrine (no, I don’t go on a rant here why I don’t want to use Propel ^^) and its DQL (Doctrine Query Language). This can be a serious pain in the arse so let’s put up some quick examples:
$query = new Doctrine_Query();
Ok, now we [...]
