# LibTmux::QueryPlan::to_data

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Perl
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-perl/blob/352715a4fa66a96eed7763b90daaa536aa2f121d/packages/core/lib/LibTmux/QueryPlan.pm#L235
- **Page:** https://libtmux.org/en/perl/latest/reference/libtmux-queryplan-to_data/

```
sub to_data($self)
```

Return an inspectable plan with source commands, filter, policy, and reasons. The [`LibTmux::Schema`](/en/perl/latest/reference/libtmux-schema/) catalog identifies required fields and relations.

## Methods
