This code only returns the Job Model only.
public function collection()
$jobs = Job::with("work")->get();
I need each model rows with their corresponding child rows to appear inside it , just like nested table.
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!