Is it possible to pass an intermediate table as second argument of hasManyThrough()
? I just want to use a table, not a model. It should be something like:
return $this->hasManyThrough(
'App\Post',
'database.table', <- table instead of model
'country_id',
'user_id',
'id',
'id'
);
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2vrT1cd
via IFTTT
Aucun commentaire:
Enregistrer un commentaire