ApiCoreInterfaces
Interface: Include
Defined in: packages/core/src/query/types.ts:115
What to pull in alongside each record, by following links.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
count? | readonly | boolean | Just the number of them — the usual thing for reactions and votes | packages/core/src/query/types.ts:126 |
direction? | readonly | "in" | "out" | in (default): records linking to this one. out: records this one links to. | packages/core/src/query/types.ts:121 |
from? | readonly | CollectionRef | Only records in this collection — by name, or a reference that carries its type | packages/core/src/query/types.ts:119 |
include? | readonly | Readonly<Record<string, Include>> | - | packages/core/src/query/types.ts:123 |
limit? | readonly | number | - | packages/core/src/query/types.ts:124 |
rel | readonly | string | The link role: 'about', 'replyTo' | packages/core/src/query/types.ts:117 |
where? | readonly | Filter | - | packages/core/src/query/types.ts:122 |