title: Need array instead of object in laravel using raw Query like DB::select("SELECT * FROM table");
body: <p>In laravel when i use <code>DB::select("SELECT * FROM table");</code> 
  It return a object,but i need a array. 
  So how can i get a array instead of object?</p>
  
  <p>example: </p>
  
  <pre><code>$data = DB::select("SELECT * FROM table");
  var_dump($data);
  </code></pre>