Answers for "select where a column is unique laravel"

PHP
1

get the unique rows from table laravel

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

Code answers related to "select where a column is unique laravel"

Browse Popular Code Answers by Language