# `Replicant.Decoder.Messages.Insert`
[🔗](https://github.com/baselabs/replicant/blob/v0.3.1/lib/replicant/decoder/messages.ex#L72)

`I` — a row insert; `tuple_data` holds the new values. `xid` is the (sub)transaction id when streamed (spec §5), else nil.

# `t`

```elixir
@type t() :: %Replicant.Decoder.Messages.Insert{
  relation_id: non_neg_integer() | nil,
  tuple_data: tuple() | nil,
  xid: non_neg_integer() | nil
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
