Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion Hello.cls
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
public class hello {
public hello() {
for(Integer i = 0; i < 5; i++) {
Account a = [SELECT Id,Name FROM Account WHERE Name='Barclays'][0];
Account a = [SELECT Id,Name,Phone FROM Account WHERE Name='Barclays'][0];
a.Phone = 'NA';
try {
insert a;
} catch (DmlException e) {
System.debug(e);
}
}

}

}
Expand Down