Page Contents

Home > @loopback/repository > DefaultBelongsToRepository

DefaultBelongsToRepository class

Signature:

export declare class DefaultBelongsToRepository<TargetEntity extends Entity, TargetId, TargetRepository extends EntityCrudRepository<TargetEntity, TargetId>> implements BelongsToRepository<TargetEntity> 

Constructors

Constructor Modifiers Description
(constructor)(getTargetRepository, constraint)   Constructor of DefaultBelongsToEntityCrudRepository

Properties

Property Modifiers Type Description
constraint   DataObject<TargetEntity>  
getTargetRepository   Getter<TargetRepository>  

Methods

Method Modifiers Description
get(options)