Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get unique values in laravel

$users = User::select('name')->distinct()->get();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unique #values #laravel
ADD COMMENT
Topic
Name
1+9 =