RelationRepository
RelationRepository 是关系类型的 Repository 对象,RelationRepository 可以实现在不加载关联的情况下对关联数据进行操作。基于 RelationRepository,每种关联都派生出对应的实现,分别为
HasOneRepositoryHasManyRepositoryBelongsToRepositoryBelongsToManyRepository
构造函数
签名
constructor(sourceCollection: Collection, association: string, sourceKeyValue: string | number)
参数

