Sep 24, 2019 in Salesforce
Q: what is difference insert() and database .insert()?

1 Answer

0 votes
Sep 25, 2019

Using insert method we can insert the records but if any error occurs in any record system will throw an error insertion fail and none of the records are inserted. If we want to execute partially success of bulk insert operation we will use database .insert.

Related questions

0 votes
Sep 26, 2019 in Salesforce
0 votes
Aug 27, 2020 in Salesforce