Activity › Forums › Salesforce® Discussions › Why we avoid DML query in "before" trigger in Salesforce? › Reply To: Why we avoid DML query in "before" trigger in Salesforce?
MemberSeptember 22, 2018 at 3:23 am
In Before Triggers, actions are being performed before you commit the record to the database. This is where you usually do validations or updates to the same object. You can skip the DML operations here as whatever values you give in your code is automatically assigned to that record.
Hope this helps.