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
5 months agoTien
5 months agoBlondell
4 months agoStephaine
4 months agoDaniel
4 months agoNadine
4 months agoHaydee
5 months agoLeota
4 months agoAlbert
4 months agoCaitlin
4 months agoTina
5 months agoJaime
5 months agoOliva
5 months agoRebecka
5 months agoBurma
6 months agoCory
4 months agoAntonio
5 months agoLuis
5 months agoVirgie
5 months agoRyan
6 months agoMattie
6 months agoCherelle
6 months ago