Reputation: 2736
public function queryCountUsers($query) {
$query->where(['confirmed' => true])->count();
}
I want to query all the users who are already confirmed and those all users who have role_id of 2 or 3 but How can i do it ?
Upvotes: 2
Views: 80