Trying to get foraign key records where every connected records are deactive ( Laravel elequent query )
i have 2 tables
Categorys ( id, name )
Sub_categories ( id, key, value, category_id )
im trying to get all Categorys whose all sub_categories are deactivated ( means are softdeleted )
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!