Answers for "count in laravel'"

PHP
2

count in laravel'

$count = ModelName::where('id',$id)->count();
Posted by: Guest on March-18-2021
6

get count laravel

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

{{count laravel

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

{{count laravel

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

Browse Popular Code Answers by Language