Closed Skintillion closed 3 years ago
Meeting has many Question, which has many Answer
public function meeting() { return $this->hasOneThrough('Meeting','Question','id','id','question_id','meeting_id'); }
or
public function meeting() { return $this->belongsToThrough('Meeting','Question'); }
in both instances, the result Meeting model will have the ID of the intermediate Question model.
Laravel 6 and I installed your plugin ^2.5
Can you log the executed queries when loading the BelongsToThrough relationship?
BelongsToThrough
Meeting has many Question, which has many Answer
or
in both instances, the result Meeting model will have the ID of the intermediate Question model.
Laravel 6 and I installed your plugin ^2.5