Laravel LeftJoin where

后端 未结 3 1685
孤独总比滥情好
孤独总比滥情好 2021-01-19 09:55

I have some problems with my eloquent model, where I try to join two different tables in one

Now I have two tables like.

First tables name \"company_saved_cv

3条回答
  •  遥遥无期
    2021-01-19 10:37

    You can easily use the Model for it. The last table, you can remove the location because you can get it with and from the model. Create easily a many-2-many relationship or something you want. Check the docs: http://laravel.com/docs/4.2/eloquent#relationships

提交回复
热议问题