title: zend framework update from another table
body: <p>I got model in Zend Framework what extends <code>Zend_Db_Table</code> where <code>$this-&gt;_name = 'tableA'</code>.</p>
  
  <p>It is very nice how long I doing <code>insert()</code>, <code>update()</code>, or <code>delete()</code>. How I can realize updating main table based on value from another table.. ?</p>
  
  <p>In raw SQL query it could looks like this:</p>
  
  <pre><code>UPDATE tableA SET fieldA = tableB.newValue
  FROM tableB
  WHERE tableA.someValue = tableB.someIndex // it will be complicate manipulation
    AND tableA.index = .....
  </code></pre>
  
  <p>how I can build params for <code>update()</code> method:</p>
  
  <pre><code>parent::update( $data, $where );
  </code></pre>