New in Laravel: HasOneThrough gets ofMany support
Codecourse · 6:16
Laravel now lets you turn a hasManyThrough relationship into a single-record hasOneThrough with ->one(), then add ->latestOfMany(). That gives you something like a latestDeployment relationship that runs as a proper q...