# tmux_snapshot:rows/2

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_snapshot.erl#L118
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_snapshot-rows-2/

```
rows/2
-spec rows(tmux_schema:entity(), t()) -> [tmux_model:row()].
```

Return a captured collection by schema entity. Performs no I/O. An unloaded collection raises incomplete_snapshot rather than appearing empty.

## Parameters

- `Entity` (`tmux_schema:entity()`)
- `Snapshot` (`t()`)
