how to get count of rows in a table in laravel query

67

$count = Model::where('status','=','1')->count();

Comments

Submit
0 Comments