Answers for "how to create row count query with groupby in laravel"

PHP
1

groupby in laravel with count

$user_info = Usermeta::groupBy('browser')->select('browser', DB::raw('count(*) as total'))->get();
Posted by: Guest on March-19-2021

Browse Popular Code Answers by Language