how to get Count from nested relation in laravel?

后端 未结 0 1320
醉梦人生
醉梦人生 2021-02-05 20:12

i have these models

Category 
 id, category_name   // has many post categories

PostCategory
 id,post_id,category_id   //belongsTo post

Post:  // has many Soluti         


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