Laravel collection collaspe arrays

前端 未结 0 1770
梦谈多话
梦谈多话 2020-11-22 14:16

I am gathering data from 2 different tables. Below is my array so far and code I am using in my controller.

$resources = Resource::with(\'type\')->get();

         


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