I have 3 tables: Topic: id Sub-Topic: id, topic_id Resources: id, subtopic_id Topic has 'hasMany' re...
My Controller method is: $topics=Topic::with(array('subtopics'=>function($query){ $query->with...
The Laravel portal for problem solving, knowledge sharing and community building.
The community