Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<Contact> clist = [SELECT Id, lastname, email FROM Contact LIMIT 50000];
- List<String> keylist = new List<String>();
- for(Contact c : clist) {
- // Right here SFSE, brain fart right here...
- string key = c.lastname + c.email;
- keylist.add(key);
- }
- System.debug(keylist.size());
Add Comment
Please, Sign In to add comment