# Interface: Include

Defined in: [packages/core/src/query/types.ts:115](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L115)

What to pull in alongside each record, by following links.

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-count"></a> `count?` | `readonly` | `boolean` | Just the number of them — the usual thing for reactions and votes | [packages/core/src/query/types.ts:126](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L126) |
| <a id="property-direction"></a> `direction?` | `readonly` | `"in"` \| `"out"` | `in` (default): records linking *to* this one. `out`: records this one links to. | [packages/core/src/query/types.ts:121](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L121) |
| <a id="property-from"></a> `from?` | `readonly` | [`CollectionRef`](https://minca.dev/api/core/type-aliases/CollectionRef.md) | Only records in this collection — by name, or a reference that carries its type | [packages/core/src/query/types.ts:119](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L119) |
| <a id="property-include"></a> `include?` | `readonly` | `Readonly`\<`Record`\<`string`, `Include`\>\> | - | [packages/core/src/query/types.ts:123](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L123) |
| <a id="property-limit"></a> `limit?` | `readonly` | `number` | - | [packages/core/src/query/types.ts:124](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L124) |
| <a id="property-rel"></a> `rel` | `readonly` | `string` | The link role: 'about', 'replyTo' | [packages/core/src/query/types.ts:117](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L117) |
| <a id="property-where"></a> `where?` | `readonly` | [`Filter`](https://minca.dev/api/core/type-aliases/Filter.md) | - | [packages/core/src/query/types.ts:122](https://github.com/leifriksheim/minca/blob/main/core/src/query/types.ts#L122) |
