mercredi 5 février 2020

Get count in Laravel after grouping without using get()

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

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



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire