Laravel: "hasManyThrough" explained
class CurrentModel extends Model
{
public function relatedData() {
return $this->hasOneThrough(
RelatedDataModel::class,
ThroughModel::class,
'current_through_id', // ๐ What column in the "through tabl...
almooradi.hashnode.dev1 min read