mercredi 23 octobre 2019

Call two relational tables in a singe id in Laravel. (check photos)

Here i got two keys but how i will make it in a single key.

In my controller i specified id for two different resources for author and authorprofile. But how can i use with single resourse because author and author profile is in relationship tables.

enter image description here

The resource attributes in the screenshot please check.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire