Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel joins

DB::table('users')
        ->join('contacts', function ($join) {
            $join->on('users.id', '=', 'contacts.user_id')->orOn(/* ... */);
        })
        ->get();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #joins
ADD COMMENT
Topic
Name
7+7 =