Page Contents

Home > @loopback/repository > RelationMetadata

RelationMetadata type

A union type describing all possible Relation metadata objects.

Signature:

export declare type RelationMetadata = HasManyDefinition | BelongsToDefinition | HasOneDefinition | ReferencesManyDefinition | RelationDefinitionBase;

References: HasManyDefinition, BelongsToDefinition, HasOneDefinition, ReferencesManyDefinition, RelationDefinitionBase