title: Hot to get to column as an array keys and values?
body: <p>What is the Laravel's way to retrieve an associative array in which, the keys are the first column of a query and the values are the second column.</p>
  
  <pre><code>User::select('id','type')-&gt;unknown();
  </code></pre>
  
  <p>should return:</p>
  
  <pre><code>[
  2=&gt;'s',  
  30=&gt;'t',
  32=&gt;'x',
  ]
  </code></pre>