Mysql
 sql >> Datenbank >  >> RDS >> Mysql

Laravel 5 Eloquent HasManyThrough - Namensspalten in Links

Versuchen Sie in Ihrer Organisationstabelle

return $this->hasManyThrough('App\..path-to..\User', 'App\..path-to..\Organisation_Users_Roles', 'organisation_id', 'id' );