Add-ons in AfterInsert
Implement as many as you need next to your role interface.
Available
- ParentQuery: load lookup parent fields; read them with
getNewParent. - RelatedQuery: query children, siblings or other records once per handler per run; read them with
getRelated. - OwnUnitOfWork: give the handler its own unit of work, committed right after it. Writer only.
- Bypassable: skip this handler for the chunk when a condition holds.
- Finalizer: run once per chunk with the qualified records.
- ContinueOnError: log and swallow this handler’s exceptions.
