| Description | Example |
| isAfter | Returns true if this trigger was fired after all records were saved. |
|
| isBefore | Returns true if this trigger was fired before any record was saved. |
|
| isDelete | Returns true if this trigger was fired due to a delete operation. |
|
| isExecuting | Returns true if the current context for the Apex code is a trigger only. |
|
| isInsert | Returns true if this trigger was fired due to an insert operation. |
|
| isUndelete | Returns true if this trigger was fired after a record is recovered from the Recycle Bin. |
|
| isUpdate | Returns true if this trigger was fired due to an update operation. |
|
| new | Returns a list of the new versions of the sObject records. (Only in insert and update triggers, and the records can only be modified in before triggers.) |
|
| newMap | A map of IDs to the new versions of the sObject records. (Only available in before update, after insert, and after update triggers.) |
|
| old | Returns a list of the old versions of the sObject records. (Only available in update and delete triggers.) |
|
| oldMap | A map of IDs to the old versions of the sObject records. (Only available in update and delete triggers.) |
|
| size | The total number of records in a trigger invocation, both old and new. |
|
0 comments:
Post a Comment