title: Laravel update query with cases
body: <p>I have situation wherein I want to update the boolean field i.e if it is 0 then update it with 1 and vice versa. I have written the mysql query, but I am having little trouble converting it to laravel supported format since I am new to laravel.</p>
  
  <p>Following is my query:</p>
  
  <pre><code>update super_admins set status = CASE WHEN status = 0 then 1 else 0 end
  where primary_key = 3;
  </code></pre>
  
  <p>A small lead on this would be a great help. Thank You </p>