Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Set<Id> accountIds = new Set<Id>();
- for(Contact c : [SELECT Name FROM Contact WHERE AccountId IN :accountIds]){
- System.debug(c);
- }
- List<Account> accounts = new List<Account>();
- update accounts;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement