Page Contents

Home > @loopback/repository > ReferencesManyDefinition

ReferencesManyDefinition interface

Signature:

export interface ReferencesManyDefinition extends RelationDefinitionBase 

Extends: RelationDefinitionBase

Properties

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