exemple : je veux exécuter la requête suivante via la classe Doctrine_Query :
SELECT id, body, MATCH (title,body) AGAINST ('Security implications of running MySQL as root') AS score
FROM articles WHERE MATCH (title,body) AGAINST ('Security implications of running MySQL as root');
$q = Doctrine_Query::create()->select("id, body, MATCH (title,body) AGAINST ('Security implications of running MySQL as root') AS score")
->from('Articles a')
->where("MATCH (title,body) AGAINST ('Security implications of running MySQL as root')");
IMPOSSIBLE, du moins pour la clause "select" qui dégage la partie "against...). la clause "where" est correctement générée.
Du coup, je me demande si il est possible de passer à Doctrine_Query une requête native (exemple : Doctrine_Query::execute("ma requete sql")) ?