Why does laravel map function returns the whole object from relationship defined?

后端 未结 0 1238
南旧
南旧 2021-02-03 11:36

Say I have relationship of One User to Many Post

I am trying to get the title of Post, in the returned collection through API

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