unique sql queries laravel

63

get the unique rows from table laravel -

$categories = Machine::distinct('category')->pluck('category');


Comments

Submit
0 Comments