Which is the best efficient way to get many-to-many relation count in laravel?

后端 未结 0 1545
青春惊慌失措
青春惊慌失措 2020-12-31 15:52

I have students and subjects table in many-to-many relation (pivot table is student_subject).

Student Model

public function s         


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