DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
eloquent relationships
$roles = AppUser::find(1)->roles()->orderBy('name')->get();
Source by laravel.com #
PREVIOUS
NEXT
Tagged:
#eloquent
#relationships
ADD COMMENT
Topic
COMMENT
Name
8+6 =
Submit