title: Laravel using WHERE in eloquent ORM
body: <p>I came across this</p>
  
  <pre><code>$user = User::whereConfirmationCode($confirmation_code)-&gt;first();
  </code></pre>
  
  <p>In Laravels eloquent ORM, can you append the tables row name in the where statment like above?</p>
  
  <p>Before I saw this I would just written</p>
  
  <p>eg: <code>$user = User::where('confirmation_code', '=', $confirmation_code)-&gt;first();</code></p>
  
  <p>Thanks</p>