EctoSync.Adapters.Postgres.Wal.Tx (EctoSync v0.5.1)

View Source

Summary

Types

t()

@type t() :: %EctoSync.Adapters.Postgres.Wal.Tx{
  decode: term(),
  end_lsn: Postgrex.PgOutput.Lsn.t(),
  lsn: Postgrex.PgOutput.Lsn.t(),
  operations: [EctoSync.Adapters.Postgres.Wal.Tx.Operation.t()],
  relations: map(),
  state: :begin | :commit,
  timestamp: term(),
  xid: pos_integer()
}

Functions

build(tx, rel)

@spec build(t(), tuple()) :: t()

finalize(tx)

@spec finalize(t()) :: t()

new(opts \\ [])