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 2 answers
Marion
1 months agoTien
1 months agoBlondell
12 days agoStephaine
15 days agoDaniel
20 days agoNadine
26 days agoHaydee
2 months agoLeota
24 days agoAlbert
29 days agoCaitlin
1 months agoTina
2 months agoJaime
1 months agoOliva
2 months agoRebecka
2 months agoBurma
2 months agoCory
1 months agoAntonio
1 months agoLuis
2 months agoVirgie
2 months agoRyan
3 months agoMattie
3 months agoCherelle
3 months ago