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 learninglaravel.net #
 
PREVIOUS NEXT
Tagged: #join #laravel #eloquent
ADD COMMENT
Topic
Name
2+8 =