DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel collection distinct
$dataList = [1,2,4,5,3,2,1,98,1,2,4,5,6]; $dataList = collect( $dataList )->unique();
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#laravel
#collection
#distinct
ADD COMMENT
Topic
COMMENT
Name
1+8 =
Submit