title: Yii: deleteAll and IN statement
body: <p>I have array with ids and want to delete all them by id</p>
  
  <pre><code>$membersId = array('1','2','3');
  $inStatement = implode(',', $membersId);
  
  //dont work!
  TRatingMembers::model()-&gt;deleteAll(array('member_id IN (:member_id)'),
      array(':member_id' =&gt; $inStatement));
  </code></pre>
  
  <p>How to delete all rows with one transaction?</p>