I am using Eloquent ORM and I have Book model which connect to BookCategory model and BookCategory connect to Category. The l'm problem facing is how to include data from third table in eloquent relationships?
Book
id
name
Category
id
name
type
BookCategory
id
book_id
category_id
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3l9oQuR
via IFTTT
Aucun commentaire:
Enregistrer un commentaire