Phoenix.Sync.Writer.Context (Phoenix.Sync v0.5.1)
View SourceProvides context within callback functions.
Fields
index
- the 0-indexed position of the current operation within the transactionchanges
- the currentEcto.Multi
changes so faroperation
- the currentPhoenix.Sync.Writer.Context.Operation
callback
- the name of the current callback,:pre_apply
or:post_apply
schema
- theEcto.Schema
module associated with the current operation