Пример #1
0
 public function getActorsCity()
 {
     return Actors::select('city', DB::raw('COUNT(id) AS nb'))->groupBy('city')->get();
 }