unique sql queries laravel

66

get the unique rows from table laravel -

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


Comments

Submit
0 Comments