View Source WalEx.Event (WalEx v3.8.0)
Event DSL and casting
Summary
Functions
Macros for processing events
Filter out events by table and type (optional) from transaction and cast to Event struct
Types
@type t() :: %WalEx.Event{ changes: map() | nil, name: atom(), new_record: map() | nil, old_record: map() | nil, source: WalEx.Event.Source.t(), timestamp: DateTime.t(), type: :insert | :update | :delete }
Functions
Macros for processing events
Filter out events by table and type (optional) from transaction and cast to Event struct