title: how to pluck distinct relations in laravel?
body: <p>i need to pluck fromcity relation from Route. 
  eg </p>
  
  <pre><code> $list = Route::with('fromcity')-&gt;get()-&gt;pluck('fromcity')-&gt;toArray();
  </code></pre>
  
  <p>but it returns duplicate cities from relation. how to get distinct records? Thanks in Advance</p>