Activity Forums Salesforce® Discussions Difference between database methods and DML statements in Salesforce?

  • kishan

    Member
    March 11, 2021 at 10:51 am

    The main difference is :-
    DML statements - when an exception is thrown during bulk DML processing, processing stops immediately and jumps to your catch block.
    DML database methods - allows partial success of bulk DML operations. Records that fail processing can be inspected and possibly resubmitted if necessary.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos