Skip to main content

Interface: Relation

Options for defining a relation.

Hierarchy​

Table of contents​

Properties​

Properties​

refType​

• refType: () => Type<any>

The type of the referred dato, specifies how it exists in MongoDB and how it is exposed in GraphQL.

Type declaration​

▸ (): Type<any>

The type of the referred dato, specifies how it exists in MongoDB and how it is exposed in GraphQL.

Returns​

Type<any>

Defined in​

src/decorators/datoProp.ts:43