How to count rows in Laravel using with?

前端 未结 0 1499
闹比i
闹比i 2021-01-29 03:24

Controller is:

     $events = Event::with(["visitors"])->where("status", 1)->get();

It returns me even

相关标签:
回答
  • 消灭零回复
提交回复
热议问题