Apex best Practices in salesforce
* if we need to create multiple test records in test class we can create list and then do single insert operation because database operation or dml operation are slow when compared to apex operations.
* No soql inside forloop
* In ofter trigger we con't directly use trigger context variables(listofnewrexords) we need to soql if we need to change same records.
*
Comments
Post a Comment