title: How to get result information when updating mysql table with Doctrine ORM in symfony 1.4
body: <p>I am developing with symfony 1.4 and using Doctrine ORM.
  After building schema and models i've got some classes for work with database. I can also use Doctrine_query .... The only thing, that i cann`t understend is:</p>
  
  <p>I need to update table.</p>
  
  <pre><code>Doctrine_Query::create()-&gt;update('table')-&gt;.....-&gt;execute().
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$tbl = new Table();
  $tbl-&gt;assignIdentifier($id);
  if($tbl-&gt;load()){
      $tbl-&gt;setFieldname('value');
      $tbl-&gt;save();
  }
  </code></pre>
  
  <p>how can i understend was it successful result of query or not ? and how much rows was updated.</p>
  
  <p>p.s. the same question is for delete operation.</p>