Skip to content

class Athena::ORM::Events::PostUpdateEventArgs(T)
inherits Athena::ORM::Events::LifecycleEventArgs #

Emitted during AORM::EntityManager#flush for each entity it updated, right after that entity's UPDATE and before the transaction is committed.

Lifecycle callbacks annotated with AORMA::PostUpdate receive it.

Changes made to the entity here aren't written by this flush; use it for side effects such as logging, or for state that isn't mapped.

Constructors#

.new(entity : T, entity_manager : AORM::EntityManagerInterface)#

View source