вложено с Ларавелом
Course::with('competencies', 'competencies.standards')->get()->toArray();
with('competencies.standards') is enough
Kriss Sachintha
Course::with('competencies', 'competencies.standards')->get()->toArray();
with('competencies.standards') is enough