Page Contents

Home > @loopback/repository > ReferencesManyDefinition

ReferencesManyDefinition interface


export interface ReferencesManyDefinition extends RelationDefinitionBase 

Extends: RelationDefinitionBase


Property Type Description
keyFrom? string (Optional)
keyTo? string (Optional) keyTo: The foreign key used by the target model for this relation. keyFrom: The source key used by the source model for this relation.TODO(bajtos) Add relation description.
targetsMany true  
type RelationType.referencesMany