Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. Set<Id> accountIds = new Set<Id>();
  2.  
  3. for(Contact c : [SELECT Name FROM Contact WHERE AccountId IN :accountIds]){
  4. System.debug(c);
  5. }
  6.  
  7. List<Account> accounts = new List<Account>();
  8. update accounts;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement