Consider the following code snippet: Which two best practices should the developer implement to optimize this code? (Choose two.)
A. Query the Pricing_Structure__c records outside of the loop.
B. Use a collection for the DML statement.
C. Change the trigger context to after update, after insert.
D. Remove the DML statement.
Suggest answer: AD
Reference:
No comments:
Please share to make the community better.