title: Call to undefined method stdClass::save()
body: <p>I'm trying to save into the database but I constantly get this error</p>
  
  <p>Call to undefined method stdClass::save()</p>
  
  <p>my controller</p>
  
  <pre><code> $c = DB::table('subject_user')-&gt;where('user_id', $value)-&gt;first();
  
   $c-&gt;auth_teacher = '1';
  
   $c-&gt;save();
  </code></pre>