jeudi 1 juin 2017

how to use localkey for both table in hasmanythrough relationship..in laravel 5

return $this->hasManyThrough('App\TblEmployeeMaster', 'App\TblMasUser','usr_UserId','emp_EmployeeCode');

That's my code.. I want to add 2 localkey one for TblEmployeeMaster and another one for App\TblMasUser



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2qEgH6o
via IFTTT

Aucun commentaire:

Enregistrer un commentaire