# libtmux.QueryRelation

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/query.lua#L243
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-queryrelation/

## Members

### Common operations

- [`schema`](/en/lua/v0.1.1/reference/libtmux-queryrelation-schema/) (attribute)

### Other members

- [`cardinality`](/en/lua/v0.1.1/reference/libtmux-queryrelation-cardinality/) (attribute)
- [`nullable`](/en/lua/v0.1.1/reference/libtmux-queryrelation-nullable/) (attribute): Only to-one relations can be nullable.
- [`supported`](/en/lua/v0.1.1/reference/libtmux-queryrelation-supported/) (attribute): Defaults to true.
