I need help. I need to get the result of a update sql query using doctrine 1.2
I googled and I found a way to make a native sql query using doctrine
$preparequerystring = "UPDATE mdw_reportes_operacion SET mmaplicado = 2.742495126705653 WHERE id = 5294;";
$con = Doctrine_Manager::getInstance()->connection();
$st = $con->executeUpdate($preparequerystring,array(false));
print_r($st);
I would like to know how to retrieve some information about the query I'm executing. I've tried with
$result = $st->fetch();
but it returns a 500 internal server error.
What is the right way to retrieve information about the query when performing an UPDATE query?