Pluck with multiple columns? : <p>When i use pluck with multiple columns i get this:</p>

<pre><code>{"Kreis 1 \/ Altstadt":"City","Kreis 2":"Enge","Kreis 3":"Sihifeld","Kreis 4":"Hard","Kreis 5 \/ Industriequartier":"Escher Wyss","Kreis 6":"Oberstrass","Kreis 7":"Witikon","Kreis 8 \/ Reisbach":"Weinegg","Kreis 9":"Altstetten","Kreis 10":"Wipkingen","Kreis 11":"Seebach","Kreis 12 \/ Schwamendingen":"Hirzenbach"
</code></pre>

<p>But i need this?</p>

<pre><code>["Rathaus","Hochschulen","Lindenhof","City","Wollishofen","Leimbach","Enge","Alt-Wiedikon","Friesenberg","Sihifeld","Werd","Langstrasse","Hard","Gewerbechule","Escher Wyss","Unterstrass","Oberstrass","Fluntern","Hottingen","Hirslanden","Witikon","Seefeld","M\u00fchlebach","Weinegg","Albisrieden","Altstetten","H\u00f6ngg","Wipkingen","Affoltern","Oerlikon","Seebach","Saatlen","Schwamendingen-Mitte","Hirzenbach"]
</code></pre>

<p>Any suggestion how can i do that? This is my method:</p>

<pre><code>    public function autocomplete_districts(Request $request)
   {
      $district = $request-&gt;input('query');
      // $ass = /DB::table('districts')-&gt;select(array('district', 'region'))-&gt;get();
      // dd($ass);
      $data = Districts::whereRaw('LOWER(district) like ?', [strtolower('%'.$district . '%')])-&gt;orWhereRaw('LOWER(region) like ?', [strtolower('%'.$district . '%')])-&gt;pluck('region','district');

      return response()-&gt;json($data);
   }
</code></pre>
