0
我有很多困難找出如何使用此集合來計數行。雄辯laravel:如何從一個 - >獲得行計數()
$wordlist = \DB::table('wordlist')->where('id', '<=', $correctedComparisons)
->get();
我試過adding->count()
但沒有奏效。我曾嘗試過count($wordlist)
。我不確定如果不需要第二個請求作爲a->count()
方法,該怎麼辦。