Account[] IPList = [SELECT Name,
(SELECT Product_Family__c
FROM Product_Releases_del__r
ORDER BY Product_Family__c ASC)
FROM Account a
WHERE ParentID =: AccountID];
I have the above query/subquery. It's a List of Lists that contains accounts and a list of account child objects. I need to essentially recreate the structure of the list of lists, so I can then exclude certain child objects based on their value. How would you go about iterating through both lists and adding the values to a list of Accounts/Child objects.