title: Query relationship Eloquent
body: <p>I have <code>News</code> model, and <code>News</code> has many comments, so I did this in <code>News</code> model:</p>
  
  <pre><code>public function comments(){
      $this-&gt;hasMany('Comment', 'news_id');
  }
  </code></pre>
  
  <p>But I also have field <code>trashed</code> in <code>comments</code> table, and I only want to select comments that are not trashed. So <code>trashed &lt;&gt; 1</code>. So I wonder is there a way to do something like this: </p>
  
  <pre><code>$news = News::find(123);
  $news-&gt;comments-&gt;where('trashed', '&lt;&gt;', 1); //some sort of pseudo-code
  </code></pre>
  
  <p>Is there a way to use above method or should I just write something like this: </p>
  
  <pre><code>$comments = Comment::where('trashed', '&lt;&gt;', 1)
      -&gt;where('news_id', '=', $news-&gt;id)
      -&gt;get();
  </code></pre>