Page Contents

Home > @loopback/repository-json-schema > getNavigationalPropertyForRelation

getNavigationalPropertyForRelation() function

Checks and return navigational property definition for the relation

Signature:

export declare function getNavigationalPropertyForRelation(relMeta: RelationMetadata, targetRef: JSONSchema): JSONSchema;

Parameters

Parameter Type Description
relMeta RelationMetadata  
targetRef JSONSchema  

Returns:

JSONSchema