title: Laravel 4.2 union
body: <p>For the following request:</p>
  
  <pre><code>$gamer_id = DB::table('users_relations')-&gt;select('gamer_id')-&gt;where('user_id', '=', Auth::user()-&gt;id)-&gt;first();
  $test_id = DB::table('users_relations')-&gt;select('gamer_id')-&gt;where('user_id', '=', 2)-&gt;first();
  $results = $gamer_id-&gt;union($test_id)-&gt;get(); 
  
  dd($results);
  </code></pre>
  
  <p>I have the error:</p>
  
  <pre><code>Symfony \ Component \ Debug \ Exception \ FatalErrorException
  
  Call to undefined method stdClass::union()
  </code></pre>
  
  <p>Any thought about that ?
  Thank you!</p>
  
  <p>P.S. Documentation -−> <a href="http://laravel.com/docs/queries#unions" rel="nofollow">http://laravel.com/docs/queries#unions</a></p>