I use operator with("offers")
when try to build query:
$announcement = Announcement::with("categories", "offers")->findOrFail($id);
When in model Category
and Offers
there is the same filed status
, the after select, I get value of this as null
for offers
model(table).
How to fix it?
via Darama