Interface: ManyToOne
Options for defining a many-to-one relation.
Hierarchy
-
↳
ManyToOne
Table of contents
Properties
Properties
localField
• localField: string
The local field for the relation.
Defined in
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
>