laravel limit in join query code example
Example 1: limit laravel
$posts = Post::all()->limit(10)->get();
Example 2: join in laravel eloquent
$customer = DB::table('customers')
->join('shops', 'customers.shop_id', '=', 'shops.shop_id')
->where('customer_contact', $contact_no)
->get();