Whenever we try to perform any operation on some records then the trigger perform its action in the batches of 200 records. Am I correct here?
Also consider that first 200 records have got inserted and the next batch should check for the duplicate records in the first batch also. So will this happen in the trigger?
Like consider the combination of two fields A & B makes a unique record for the object. We have provided this condition in our trigger to check. But will the trigger check this in the first 200 batch or it will just check in the already present records?
This may seem stupid but I want to be clear on this thing. As far as I know trigger should check for the duplicates in the first batch too.