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

  • Difference between database methods and DML statements in Salesforce?

    Posted by Mansi on March 10, 2021 at 3:49 pm

    Difference between database methods and DML statements in Salesforce?

    kishan replied 3 years, 1 month ago 2 Members · 1 Reply
  • 1 Reply
  • 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