Activity › Forums › Salesforce® Discussions › How can I manipulate records with DML in Salesforce? › Reply To: How can I manipulate records with DML in Salesforce?
MemberSeptember 20, 2018 at 6:38 pm
Manipulate Records with DML
Use DML to insert, update, and delete records.
Perform DML statements in bulk.
Use upsert to either insert or update a record.
Catch a DML Exception.
Use a Database method to insert new records with the partial success option and process the results.
Know when to use DML statements and when to use Database methods.
Hope this helps.