Laravel 9 Backpack 5 addBaseClause from 2 tables – Mysql
I've been trying pretty much every possibility that came into my mind, but no luck. I'm trying to show a list of companies created WHERE the parent user_id in the Companies table is backpack_user()->id OR company_id AND user_id are present…