Essentially, why is the IS NULL where clause being added to this query
select * from bids where bids.contractor_id is null and contractor_id = ?
and
select * from bids where bids.contractor_id is null
when the One Many has been setup. Why isn't a where contactor_id = ? the only clause when using $contractor->bids or $contractor->bids()->get()
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community