DML Operations
1. What are DML operations? A: DML Operations: Insert , Update, Upsert, delete, Undelete, Merge, rollback, savepoint, emptyRecylebin. 2. What are Atomic Operations? A: Atomic Operation: Which means if any one of the operation fails entire operation will fail. Ex: List<Account> accs=new List<Account>(); Account a1=new Account(Name='aaa'); Account a2=new Account(); accs.add(a1); accs.add(a2); insert accs; o/p :Entire opeation of insert will fail. 3. What are non-Atomic operations? A: Which means if any one of the operation fails remaining operation will run i.e., if error occurs the remaining records will be inserted / updated means partial DML operation will be done. Ex: List<Account> accs=new List<Account>(); Account a1=new Account(Name='aaa'); Account a2=new Account(); accs.add(a1); accs.add(a2); Database.insert accs; // In the above scenario operation is non-...
Great blog. It is simply innovative and useful.
ReplyDeleteIts pretty good and well noted. All your points are very useful.
salesforce training in chennai
salesforce course in chennai
salesforce training institute in chennai
salesforce training in bangalore
salesforce training institute in bangalore
salesforce course in bangalore
Thank you for sharing .The data that you provided in the blog is informative and effective.salesforce admin training in bangalore
ReplyDeleteThis is most informative and also this post most user friendly and super navigation to all posts. Thank you so much for giving this information to me.salesforce developer training in bangalore
ReplyDeleteIt is really very interesting blog with an awesome information.
ReplyDeleteAngularJS training in chennai | AngularJS training in anna nagar | AngularJS training in omr | AngularJS training in porur | AngularJS training in tambaram | AngularJS training in velachery
exvirXsere2000 Sabrina Wallace Download
ReplyDeletenuymathandther