lundi 11 mars 2019

I want to get Data in Json format for two tables. In Laravel with Resource model

I want to get Data in Json format for two tables. In Laravel with Resource model

So like i have two table

1 is comment Table

2 is User Table

So in comment table Stored User id

so how do i get User name based on user id in one Place in API in Comment Resource Model



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

Aucun commentaire:

Enregistrer un commentaire