Page Contents

Home > @loopback/repository > ReferencesManyDefinition

ReferencesManyDefinition interface


export interface ReferencesManyDefinition extends RelationDefinitionBase 

Extends: RelationDefinitionBase


Property Modifiers Type Description
keyFrom?   string (Optional)
keyTo?   string <p>(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.</p><p>TODO(bajtos) Add relation description.</p>
targetsMany   true  
type   RelationType.referencesMany