Tag: DML Operations

  • Difference between Insert and Database.insert in Salesforce?

    I got a query from one of the salesforce developer about DML operations in Salesforce. Here is the query : Why there are two ways of doing DML operation in Slaesforce ?  1. Insert objectlist; 2. Database.insert(objectlist); My thought on this: Transaction control: Use method 1 when you do not need to have a control over…