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

`T` — a `TRUNCATE` of one or more relations; options indicate `CASCADE` / `RESTART IDENTITY`.

# `option`

```elixir
@type option() :: :cascade | :restart_identity
```

# `t`

```elixir
@type t() :: %Replicant.Decoder.Messages.Truncate{
  number_of_relations: non_neg_integer() | nil,
  options: [option()] | nil,
  truncated_relations: [non_neg_integer()] | nil,
  xid: non_neg_integer() | nil
}
```

---

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