DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
get percentage rating in laravel
$ratings = Rating::select('rating', DB::raw('count(id) as count')) ->groupBy('rating') ->get();
Source by laracasts.com #
PREVIOUS
NEXT
Tagged:
#percentage
#rating
#laravel
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit