Activity Forums Salesforce® Discussions What is the use of setSavepoint() method of Database class in Salesforce ?

  • Aditya

    Member
    May 29, 2020 at 3:08 pm

    Hi,
    Database. setSavepoint() is used to define a point at which DML operations can be rolled back. If any error occurs during DML Operations, that contains many statements, the application will be rolled back to the most recent save point and the entire transaction will not be aborted.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos