title: How get array instead of object after db select in laravel
body: <p>I have this query</p>
  
  <pre><code>DB::table('my_table')-&gt;whereIn('column_id', $tagList)-&gt;get(array('product_id'));
  </code></pre>
  
  <p>But in result I got array of stdClass objects</p>
  
  <pre><code>array (size=2)
    0 =&gt; 
      object(stdClass)[964]
        public 'product_id' =&gt; int 19
    1 =&gt; 
      object(stdClass)[961]
        public 'product_id' =&gt; int 20
  </code></pre>
  
  <p>Is any possibility to get value as simple array ?</p>
  
  <pre><code>array (size=2)
    0 =&gt; 19
    1 =&gt; 20
  </code></pre>