# `Beancount.Schemas.PopTag`
[🔗](https://github.com/thanos/beancount_ex/blob/v0.6.0/lib/beancount/schemas/directives.ex#L535)

Persisted `poptag` directive (table `beancount_pop_tags`).

Storage-layer counterpart of `Beancount.Directives.PopTag`. This directive
has no date; its position (`file_order`) determines where the tag scope ends.

## Fields

  * `tag` - tag name without the leading `#`, e.g. `"trip-athens"`.
  * `file_order` - zero-based position of the directive in the source.

## Example

    %Beancount.Schemas.PopTag{tag: "trip-athens", file_order: 20}

# `t`

```elixir
@type t() :: %Beancount.Schemas.PopTag{
  __meta__: term(),
  file_order: term(),
  id: term(),
  inserted_at: term(),
  tag: term(),
  updated_at: term()
}
```

---

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