Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

join in laravel eloquent

 $customer = DB::table('customers')
                ->join('shops', 'customers.shop_id', '=', 'shops.shop_id')
                ->where('customer_contact', $contact_no)
                ->get();
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #join #laravel #eloquent
ADD COMMENT
Topic
Name
6+2 =