count number of rows laravel controller

98

count number of rows laravel controller -

$wordlist = Wordlist::where('id', '<=', $correctedComparisons)->get();
$wordCount = $wordlist->count();

Comments

Submit
0 Comments