Performance
Severity
High
Apex Class
SF-0017
DML statements inside loops can cause you to hit the DML governor limit.
Try to batch up the data into a list and invoke your DML once on that list of data outside the loop.
60 min
Name: *
Email: *
Message: *
THE AI CODE GOVERNANCE BRIEF