Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidActionSequence = errors.New("invalid message sequence")
Functions ¶
This section is empty.
Types ¶
type RelationActions ¶
func Grouper ¶
func Grouper(batch []*db.WalTransaction) ([]*RelationActions, error)
Grouper returns actions grouped by table The returned map is keyed by table. RowActions are returned in a map keyed on row identity. Redundant actions to the same row identity are aggregated into one equivalent action. The order of row actions within each table and group is not maintained (because row actions are stored in a map),
Click to show internal directories.
Click to hide internal directories.