title: Update a field by $model->updateAll in Yii
body: <p>I want to execute this query :</p>
  
  <pre><code>update table_name where field=field+1
  </code></pre>
  
  <p>what I'm trying to do is :</p>
  
  <pre><code>$model-&gt;updateAll(array("field"=&gt;"field+1"),"id = ".$id);
  </code></pre>
  
  <p>field is integer , and after that running this code it updates to 0 .</p>
  
  <p>does this syntax is wrong for <code>$model-&gt;updateAll</code> ?</p>
  
  <p>do I have to use another function ?</p>