Closed Skintillion closed 4 years ago
Fixed myself. Just made a mistake.
return $this->hasManyDeep('App\Models\E',
['App\Models\B', 'App\Models\C','App\Models\D'],
[
'a_id',
'id',
'id',
'id'
],
[
'id',
'c_id',
'd_id',
'e_id'
]
);
Keep getting empty results..
A::first()->e()->toSql()
not sure where the
is coming from