How to get a relationshiped model by a model and FK in Laravel?

后端 未结 0 416
梦谈多话
梦谈多话 2021-01-21 00:36

So, what I\'m trying to obtain is a related model class given an other model class and a column name wich is a FK.

Supose I have a model named \'Event\' and a model named

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