title: How can I update data with Eloquent without id in Laravel 4
body: <p>When I want to update the <code>FaqTrans</code> database, but this datase have two primary key (faq_ida and lang) <code>$table-&gt;primary(array('lang', 'faq_id'));</code>. so I don't need a <code>id</code> column with auto_increment.</p>
  
  <p>However, when I use the following code to update the database, the error message hint me there is no <code>id</code> column.</p>
  
  <pre><code>$faq_trans = FaqTrans::where('faq_id','=',$faq_id)-&gt;where('lang','=',$lang)-&gt;first();
  $faq_trans-&gt;lang  = Input::get('lang');
  $faq_trans-&gt;body  = Input::get('body');
  $faq_trans-&gt;title = Input::get('title');
  $faq_trans-&gt;save();
  </code></pre>
  
  <p>error message</p>
  
  <blockquote>
    <p>SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'where
    clause' (SQL: update <code>FAQtrans</code> set <code>body</code> = ?, <code>updated_at</code> = ? where
    <code>id</code> is null) (Bindings: array ( 0 => 'adfadaaadfadaa', 1 =>
    '2013-07-04 11:12:42', ))</p>
  </blockquote>
  
  <p>and when I added an <code>id</code> column, the code works fine...</p>
  
  <p>are there any way can I update the database without ID column ? </p>