Eeetm
144
6
Laravel

Trying to get foraign key records where every connected records are deactive ( Laravel elequent query )

Posted 1 month ago by Eeetm

i have 2 tables

  1. Categorys ( id, name )

  2. 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.