Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel eloquent get data without duplicates

MyModel::distinct()->get(['column_name']);
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #Laravel #eloquent #data #duplicates
ADD COMMENT
Topic
Name
2+1 =