title: Laravel Eloquent - Select Certain Columns Combine with Eager Loading
body: <p>How to select certain columns on parents table while querying with eager loading?</p>
  
  <pre><code>$accounts = \App\Account::with('status')-&gt;get();
  </code></pre>
  
  <p>Return</p>
  
  <pre><code>[{"id":1,"username":"kuhn.desiree","email":"quentin.gleason@example.net","last_login":"2009-04-02 23:21:20","created_at":"2017-07-15 19:07:03","updated_at":"2017-07-15 19:07:03","status_id":13,"status":{"id":13,"name":"ab","desc":"Quos quas.","created_at":"2017-07-15 19:07:01","updated_at":"2017-07-15 19:07:01"}}]
  </code></pre>
  
  <p>I only want <code>username</code> and <code>email</code> on <code>Account</code> table.</p>