Answers for "how to get distinct items in a collection in laravel"

PHP
4

eloquent get distinct

$ad->getcodes()->distinct('pid')->count('pid');
Posted by: Guest on September-20-2020

Code answers related to "how to get distinct items in a collection in laravel"

Browse Popular Code Answers by Language