Saving a collection to a model with custom primary route key in Laravel

前端 未结 0 854
無奈伤痛
無奈伤痛 2021-02-06 15:17

I have two models, Client & Address, but have changed the primary key for Client for readable route binding. (e.g/, /clients/roger-rabbit)

public function get         


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