A developer has identified a method in an Apex class that performs resource intensive actions in memory by iterating over the result set of a SOQL statement on the account. The method also performs a DML statement to save the changes to the database.
Which two techniques should the developer implement as a best practice to ensure transaction control and avoid exceeding governor limits? (Choose two.)
Keiyo
1 year, 2 months agoirina_735
1 year, 2 months agoDonAldos
1 year, 7 months ago