Explain the difference between trigger.new and trigger.newmap?
Answer / Yudhisthir Naik
'trigger.new' is a collection of all the records that are being inserted or updated in the current context. It contains all the new or changed records that will be processed by the Apex trigger. On the other hand, 'trigger.newMap' is a Map data type (specifically, a List<SObject> Map) where each key is the record ID and the value is the record itself from 'trigger.new'. This allows for easier access to individual records.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can two users have the same profile? Can two profiles be assigned to the same user? : salesforce crm
Does salesforce stores the deleted objects and fields? : salesforce objects & fields
Explain class constructors with example?
Can two profiles be assigned to the same user?
What is the success of the Salesforce Cloud Service?
List the various object relations in salesforce?
Difference between Rest and SOAP?
What are the tools included in lightning ?
Can two users have the same profile?
What are lightning events ? Where do you use them ?
Throw some light on implementing pagination in a visualforce page.
What is tab in salesforce? What is the difference between adding a custom tab to an app in classic and lightning?