We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
I want to count users who have stripe_plan = platinum_monthly
$platinum=User::count('stripe_plan','platinum_monthly');
But its returning all users who have selected any available plan how to solve this issue need help?
Aucun commentaire:
Enregistrer un commentaire