title: Why can I not access the data from my query?
body: <pre><code>        $threads = Thread::leftjoin('users', 'users.id', '=', 'threads.user_id')
          -&gt;leftjoin('users as poster','poster.id', '=', 'threads.user_id')
          -&gt;leftjoin('forums_threads', 'forums_threads.thread_id','=','threads.id')
          -&gt;leftjoin('threads_users', 'threads_users.thread_id','=','threads.id');
  
          if($request-&gt;search){
              echo 'Search:' . $request-&gt;search;
              $threads-&gt;where('title', '=', $request-&gt;search);
          }
  
          if($request-&gt;author){
              echo 'author:' . $request-&gt;author;
              $threads-&gt;where('users.id', $request-&gt;author);
          }
  
          if($request-&gt;site){
              echo 'site:' . $request-&gt;site;
              $threads-&gt;where('threads.source', $request-&gt;site);
          }
  
          $threads-&gt;groupBy(array('threads.id', 'users.username','threads_users.boosts', 'users.id'))
          -&gt;get(array('threads.*','users.username','threads_users.boosts'));
  </code></pre>
  
  <p>If I do a ->count() on it, I get a return of 3 which is what I expect.  If I do a ->toSql() I see the expected sql statement.  However if I do something like foreach($threads as $thread){ echo 'inside';} I get nothing displayed.  </p>