Can Laravel query a relation of a relation in the load method?
I have 2 models: Supplier and Product which are connected via SupplierProduct table with additional fields For a given $supplier I need to load it's SupplierProducts (with attached products) filtered by where conditions in both SupplierProduct and Product models Loading…