+ Start a Discussion
Pavan kumar 546Pavan kumar 546 

Why does trigger.new and trigger.old return a list?

Why does trigger.new and trigger.old return a list?
SonamSonam (Salesforce Developers) 
Pavan,

To be able to accept bulk record inserts and updates, trigger.new is designed to return a list that can be iterated over by a for loop to work on each new record coming thru.