Get count in Laravel after grouping without using get()

$countQuery = $countQuery ->groupBy("something"); $totalCount = $countQuery->get()->count();

In $countQuery there are joins also. I want to get the final count without get()



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/397OY3y
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

I am unable to figure out how to create payment collection request, after a form has been submitted in laravel

laravel, mysql transaction not working after failed one time