Practical Eloquent: 11 Examples of has()/whereHas()

To filter data with hasMany() relationship, you don’t need sub-queries or long statements, you just need to know two Eloquent methods. Eloquent Relationships docs: My Course “Eloquent: Expert Level“
Back to Top