Answers for "count laravel 8"

PHP
6

get count laravel

$count = Model::where('status','=','1')->count();
Posted by: Guest on May-12-2020
3

join in laravel eloquent

$customer = DB::table('customers')
                ->join('shops', 'customers.shop_id', '=', 'shops.shop_id')
                ->where('customer_contact', $contact_no)
                ->get();
Posted by: Guest on October-06-2020
0

{{count laravel

{{ count($threads) }}
Posted by: Guest on October-23-2020

Browse Popular Code Answers by Language