title: subquery in laravel - with()
body: <p>I'm making a query using the following line:</p>
  
  <pre><code>$items = $this-&gt;model-&gt;with('subCategory')-&gt;get();
  </code></pre>
  
  <p>But I want to put a query inside the <code>with()</code> method, because I just want to get the items from <code>with()</code> where the status is equal to 0.</p>
  
  <p>How can I achieve this?</p>