Hi,
dump the queries sent to your databse. I think the pivot content is fetched together with the reation when you do Doctor::with(['clinics'])
@Firtzberg is correct. When you use with() it makes the content of the pivot available in the result set.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community