Answers for "laravel get unique values from column"

PHP
0

get the unique rows from table laravel

$categories = Machine::distinct('category')->pluck('category');
Posted by: Guest on August-28-2021

Code answers related to "laravel get unique values from column"

Browse Popular Code Answers by Language